-
Notifications
You must be signed in to change notification settings - Fork 199
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use guidm cursor fns #1402
base: master
Are you sure you want to change the base?
Use guidm cursor fns #1402
Conversation
* colonies.lua - guidm cursor * devel/light.lua (unavailable) - guidm cursor * devel/query.lua - guidm cursor; same_xyz * devel/tree-info.lua - guidm cursor * gui/advfort.lua (unavailable) - guidm cursor; same_xyz * gui/blueprint.lua - guidm cursor * gui/companion-order.lua (unavailable) - guidm cursor; same_xyz * gui/create-item.lua - add pos arg * gui/tiletypes.lua - guidm cursor * modtools/create-item.lua - respect opts.pos, handle inside hackWish * hfs-pit.lua - guidm cursor; fix up tiletypes * launch.lua - guidm cursor; fix projectile flag * putontable.lua - guidm cursor; same_xyz * source.lua - guidm cursor * stripcaged.lua - guidm cursor * teleport.lua - guidm cursor * toggle-kbd-cursor.lua - use clearCursorPos; exclude adv mode * docs/extinguish.rst - adv tag * docs/firestarter.rst - adv tag * docs/launch.rst - reinstated * docs/putontable.rst - reinstated * docs/toggle-kbd-cursor.rst - fort tag * docs/gui/create-item.rst - add pos arg * docs/modtools/create-item.rst - suggest "here" for pos * Update changelog.txt
pre-commit.ci autofix |
for more information, see https://pre-commit.ci
What would the required input be? Can we simulate it with |
Looks like
|
* Update toggle-kbd-cursor.lua * Update toggle-kbd-cursor.rst * Update changelog.txt
Make use of
gui.dwarfmode
cursor fns in a number of scripts. Alsosame_xyz
where possible.Added a
pos
arg forgui/create-item
to define output position. Mademodtools/create-item
respect "opts.pos" being passed intohackWish
.Fixed up tiletypes in
hfs-pit
. Outdated numbers were being used instead of enums, causing weird behavior.toggle-kbd-cursor
now ignores adv mode. It would just reposition the look cursor if left as-is, and we can't easily toggle adv look mode. (Simulated input required.)Added
adventure
tag toextinguish
andfirestarter
since guidm changes made them function. (Other scripts likecolonies
will function, but aren't particularly useful due to lack of persistence.)toggle-kbd-cursor
getsfort
tag since it only functions in fort/arena.Reinstated
launch
andputontable
. I added theadventure
tag toputontable
, even though the adventurer can place things manually, since there might be some use for the "all" option.I didn't fix up
modtools/create-unit.lua
, which is still using the global cursor. It's got oldunk
fields for structures (nemesis), and the whole thing just probably needs to be rewritten.