#Verifying Engine Stuff for XML and Lua definitions

1046 messages · Page 2 of 2 (latest)

ashen fossil
#

i think conga is likely the most well-versed currently-active modder in terms of biomes at the very least

#

oh right theres also hamis biome, i should also use this as reference for understanding boime stuff as well

jolly crypt
ashen fossil
#

ooooooooooooooooo

#

thank u i did not think to check there cuz xml defs has nothing lmao

jolly crypt
#

limit_background_image is the game asking if it should stop drawing backgrounds nearby the "surface"

#

No problem

ashen fossil
#

though could i trouble you to explain this a little bit?

#

just before you vanish in case its not elaborated much here

#

i can gather its turn colour pixel into random material i think?

#

but like is it truly random pixel to pixel?

jolly crypt
#

It's randomised per generated wang tile

ashen fossil
#

goooot it okay thats what i was wondering

#

i thought it might be random per wang tile, wanted to make sure it wasnt random per pixel lmao

#

got it thx, i shall do my best to use what i have here 👍

#

ill throw a ping your way if i have any other Qs if you dont mind o/

jolly crypt
#

If it was random per pixel it'd be useless lmao

#

No worries, best of luck

ashen fossil
#

yeah thats what i was thinking lmao

dull saffron
#

all the info is already in the config beta.json

ashen fossil
dull saffron
#

yeah you should improve the defs

ashen fossil
#

does not need to be string, no? vanilla passes numbers and stuff
function SessionNumbersSetValue(key: string, value: string)

#

actually tbh this seems inconsistent? since it treats true as "1" here, but idk both work ig

dull saffron
#

we should also have an enum for the valid session numbers i think

#

seems pretty stringy to me

#

is_biome_map_initialized
BIOME_MAP
BIOME_MAP_PIXEL_SCENES
NEW_GAME_PLUS_COUNT
DESIGN_SCALE_ENEMIES
DESIGN_NEW_GAME_PLUS_HP_SCALE_MIN
DESIGN_NEW_GAME_PLUS_HP_SCALE_MAX
DESIGN_NEW_GAME_PLUS_ATTACK_SPEED

#

valid keys

#

it reads it as a string then sticks it in an any container, so it casts it to the appropriate type

#

no error checking of course

#

whar it should already have the alias

#

i already wrote it

ashen fossil
dull saffron
#

lua lets the c api implicitly convert numbers to strings

#

so technically every function that takes string takes number

#

but i think putting it in the api is a bad idea because its generally confusing and not very useful

ashen fossil
#

gooot it

#

should tell nolla that cuz thats where the screenshot is from lmao

#

ill keep that in mind

polar trout
#

that's the least concerning part of this game you should tell nolla

ashen fossil
#

true 😔

dull saffron