Ryan Williams

Results 33 comments of Ryan Williams

I think this can be marked closed now?

More generally, you could list units based on burrows they're standing in.

Fn that gives "a day's travel", etc. `make_announcement` or `markup_text_boxst` fns. Fn for playing FMOD sounds. Fn for removing tile (recalc tile light, building support, items fall, etc.) Fn(s) that...

> Can the water level be toggled programmatically or with a single keypress in v50? If not, I would keep the script. The script is just `df.global.d_init.flags1.SHOW_FLOW_AMOUNTS = not df.global.d_init.flags1.SHOW_FLOW_AMOUNTS`....

I took a look at the "engrave slab" code in the workshop `fillSidebarMenu` function. Mason code starts at `0x140615bd3` (v50.11 win64 Steam.) The important part of it is sort of...

DF does it with a simple switch on the char byte. I'll post my reverse-engineered function here since it's short enough: ``` string string_capitalize(const string &str) // DF's function always...

> it may make sense to request this one as an export instead of reengineering it. As I mentioned, DF's version modifies the string in place instead of creating a...

> I believe `gui/autodump` can do both at the same time Looks like `gui/autodump` can't select items in buildings. It probably ought to now that we can dump them.

`is_burning` is used only in `scripts/extinguish.lua`. Code may need to be removed, or possibly replaced with something that works. `is_drowning` isn't used. `is_dead` isn't used. (It's in the version of...