Commit Graph

13529 Commits (e4596e6d2ea87d6d25b39e7ff6e168570a21ccff)
 

Author SHA1 Message Date
Ryan Williams b64e28253f
Update Maps.cpp 2021-06-22 20:03:18 -07:00
Ryan Williams d81de5e4c7
Add getPlantAtCoords function to Maps namespace
Derived from disassembly of DF code. Returns a pointer to plant struct that owns the tile at position. Useful for finding a tree from one of its branches. Lua API support.
2021-06-22 20:01:10 -07:00
Warmist b7069a5ebd
Fix label early key detection in scrolling logic
Current logic is because @myk002 fixed it so label would allow other widgets control when label(s) are present. However that breaks label key detection for default scroll keys. This can be worked around by setting scrollkeys to empty.

TBH: label is quite complicated and used everwhere so i'm reluctant to touch it and would love for someone to look over if i'm correct.
2021-06-22 11:31:00 +03:00
Tachytaenius 990c153a9a
Show adjective in item prompt
Useful for high boot/low boot etc.
2021-06-19 13:59:38 +01:00
lethosor 2fc5fbacb5
Merge remote-tracking branch 'myk002/myk_reveal_unhideFlood' into develop 2021-06-19 01:08:05 -04:00
lethosor db7eb9a736
Update scripts, move changelog entry 2021-06-18 18:22:53 -04:00
lethosor a300c5592d
Merge remote-tracking branch 'myk002/myk_teleport' into develop 2021-06-18 18:21:49 -04:00
lethosor 1db4a6d1d8
Replace lua/README with version from 5.3.3
Also replaced doc/readme.html reference with external link
2021-06-18 18:07:30 -04:00
lethosor 293b6e880f
Merge remote-tracking branch 'myk002/myk_plugin_doc' into develop 2021-06-17 22:09:41 -04:00
lethosor 4b87b44a1f
Merge remote-tracking branch 'cppcooper/patch-1' into develop 2021-06-15 21:31:23 -04:00
Josh C 662ba00dd1
Update Dev-intro.rst 2021-06-15 18:18:48 -07:00
myk002 b7a970a309
allow mock.func() to return multiple values 2021-06-15 13:16:05 -07:00
lethosor a938aa14a5
Merge branch 'master' into develop
Conflicts:
	docs/Introduction.rst - GitHub mention added manually to Support.rst
2021-06-15 00:40:42 -04:00
lethosor 72bc4f6318
Merge remote-tracking branch 'lethosor/docs-support-channels' into master 2021-06-15 00:24:41 -04:00
lethosor 5d397ad0b0
[cherry-pick] Fix invalid role name
Cherry-pick of 001e608aa7

Conflicts (used version from master):
	docs/changelog.txt
2021-06-15 00:19:40 -04:00
lethosor 102f0437a4
Move support channels to a separate page and update
Removing freenode due to takeover, etc.
2021-06-15 00:03:24 -04:00
DFHack-Urist via GitHub Actions e7ef7e10a6 Auto-update submodules
scripts: master
2021-06-14 07:20:18 +00:00
PatrikLundell ba5915b866 embark-assistant early waterfall quit removed 2021-06-13 17:47:15 +02:00
DFHack-Urist via GitHub Actions ec7b0843ce Auto-update submodules
scripts: master
2021-06-13 07:17:50 +00:00
lethosor fc8e1dd388
Merge remote-tracking branch 'myk002/myk_blueprint2' into develop 2021-06-13 00:53:22 -04:00
DFHack-Urist via GitHub Actions 4cac2c13f2 Auto-update submodules
scripts: master
2021-06-09 07:27:57 +00:00
myk002 1c9c370fcd
remove dead code from plants 2021-06-07 21:51:25 -07:00
myk002 473b8245b2
update changelog 2021-06-07 07:04:23 -07:00
myk002 1a016a0ff3
force creation of extents for abstract buildings 2021-06-07 07:02:46 -07:00
lethosor e90e3ae55b
Update changelog
Ref dfhack/stonesense#76, dfhack/stonesense#78
2021-06-06 23:33:20 -04:00
lethosor de8ce58052
Update stonesense
Ref dfhack/stonesense#77, dfhack/stonesense#78
2021-06-06 23:26:31 -04:00
myk002 95ce44ab79
remove outdated info from plant plugin docs 2021-06-06 09:07:36 -07:00
myk002 ed0e4ef841
whoops that was important 2021-06-06 09:00:33 -07:00
myk002 34aa62d675
update changelog 2021-06-06 08:50:28 -07:00
myk002 fc860478e4
move fastdwarf's teleport code to Units module
and expose in Lua API
2021-06-06 08:48:32 -07:00
myk002 94157633a8
don't suspsend core for Lua entrypoint 2021-06-05 14:45:09 -07:00
lethosor 7d7d1feb4b
Update stonesense
Ref dfhack/stonesense#73, dfhack/stonesense#76
2021-06-05 15:16:18 -04:00
lethosor bce6432ea6
Merge remote-tracking branch 'bseiller/ea_improve_survey_performance_by_changing_inorgancs_to_vector_int' into develop 2021-06-04 00:21:34 -04:00
lethosor 40e8ee6dd9
Merge remote-tracking branch 'myk002/myk_dreamfort_unbiggen' into develop 2021-06-04 00:15:32 -04:00
myk002 0c44e7da67
update changelog 2021-06-02 14:52:33 -07:00
myk002 fb8d6614c7
expose core flood unhide logic to Lua
refactor is a straight copy-paste. this code could really stand some
cleanup (unused vars, unnecessary use of the MapCache layer, forced
allocation of all blocks even if they are not being unhidden, etc.), but
that can come in a later PR.
2021-06-02 14:49:19 -07:00
myk002 b021edda0f
update changelog 2021-06-01 04:45:22 -07:00
myk002 388f23fbf8
move traction benches to earlier hospital stage
so the traction benches don't have to contend with the dining hall for
tables

also fix a misplaced statue on the guildhall level
2021-06-01 04:45:21 -07:00
myk002 bd6efb23e8
reduce size of dreamfort guildhall level
to fit more easily in a 1x1 embark
2021-06-01 04:45:21 -07:00
myk002 b5b4d845b1
clean up extra empty space around blueprints 2021-06-01 04:45:21 -07:00
myk002 ce6a2d2974
used passed-in out param instead of the console 2021-06-01 02:16:48 -07:00
myk002 1b1b4245c9
report output filenames when creating blueprints
also refactor so we can get this data from gui/blueprint
2021-05-31 15:34:19 -07:00
lethosor 32d0d4209b
Merge remote-tracking branch 'myk002/myk_resume' into develop 2021-05-28 00:54:59 -04:00
lethosor c0cdf5bcac
ci/test.lua: fix string splitting
string:split() isn't part of the standard library, but is defined if
`gui/load-screen.lua` is run. This happens in the default dfhack.init-example
and on GitHub Actions, but not on Buildmaster.

This is an intermediate solution to get CI working again. A more complete
solution would be to move string:split() to dfhack.lua, like
string:startswith(), or to take a pass over scripts and make sure they aren't
modifying built-in types like string/table.
2021-05-28 00:17:20 -04:00
DFHack-Urist via GitHub Actions 300bfe7daf Auto-update submodules
scripts: master
2021-05-27 07:53:17 +00:00
myk002 5e127ed1e8
invalidate resume cache when buildings are added 2021-05-26 22:29:55 -07:00
DFHack-Urist via GitHub Actions b651ea88d2 Auto-update submodules
scripts: master
2021-05-26 07:44:29 +00:00
bseiller 5cd86743f1 trying to make gcc happy
- survey.cpp: adding include to allow gcc to find std::memset
2021-05-25 18:56:58 +02:00
lethosor 04d4f01845
Update scripts (dfhack/scripts#281) 2021-05-24 23:49:39 -04:00
lethosor 4f976a5909
Merge remote-tracking branch 'myk002/myk_blueprint' into develop 2021-05-24 23:48:21 -04:00