Myk Taylor
a3699a54b8
Merge branch 'buildingplan_refactor' into buildingplan_refactor2_squashed
2020-10-05 22:26:19 -07:00
Myk Taylor
4d7f4d80ad
prep buildingplan for core algorithm changes
...
player-visible changes
- removed text that showed up if you used the wrong hotkeys. no other
dfhack screen does this, and it seems unneeded. can add back if others
think otherwise, though
internal changes
- changed signature of lua-exported isPlannableBuilding to take subtype
and custom type in addition to building type. this is only used by
quickfort, and it already sends all three params in preparation for
this change
- added lua-exported scheduleCycle(), which is like doCycle(), but only
takes effect on the next non-paused frame. this lets quickfort
run only one buildingplan cycle regardless of how many #build
blueprints were run
- declared a few dfhack library methods and params const so buildingplan
could call them from const methods
- converted buildingplan internal debug logging fn to have a printf api
- reshaped buildingplan-planner API and refactored implementation in
preparation for upcoming core algorithm changes for supporing all
building types (no externally-visible functionality changes)
- changed df::building_type params to type, subtype, custom tuple keys
- introduced capability to return multiple filters per building type
(though the current buildings all only have one filter per)
- split monolith hook functions in buildingplan.cpp into one per scope.
this significantly cleans up the code and preps the hooks to handle
iterating through multiple item filters.
- got rid of send_key function and replaced with better reporting of
whether keys have been handled
2020-10-04 20:05:08 -07:00
lethosor
93d43ba9e3
Update changelog ( #1620 , #1660 )
2020-09-29 20:08:35 -04:00
lethosor
3c037ef52a
Clean up plugin mkmodule/require explanation
2020-09-24 00:16:32 -04:00
Myk Taylor
72fb6d09d6
Merge remote-tracking branch 'upstream/develop' into buildingplan_isenabled
2020-09-23 19:21:16 -07:00
lethosor
dfac5bc143
Update gui.Painter docs, add sections to dfhack.screen, add more links, etc
2020-09-23 22:00:39 -04:00
Myk Taylor
12769de232
revert dup isEnabled and document real isEnabled
2020-09-22 23:24:20 -07:00
Myk Taylor
b73750e706
Merge remote-tracking branch 'upstream/develop' into buildingplan_isenabled
2020-09-22 22:53:01 -07:00
Myk Taylor
c6111ba017
expose if buildingplan is enabled to lua
2020-09-20 16:38:26 -07:00
lethosor
0e6e00af5e
getplants: fix crash when world_object_data is not present for certain blocks
2020-09-20 01:24:46 -04:00
lethosor
9c37a3a068
Add "createitem inspect" subcommand
2020-09-19 20:33:47 -04:00
lethosor
23dc7727b5
Merge remote-tracking branch 'kristjanmoore/develop' into develop
2020-08-29 17:43:46 -04:00
lethosor
100ba998a1
Update changelog, authors ( #1633 )
2020-08-28 18:44:16 -04:00
kristjanmoore
0fa4987edb
Update authors
2020-08-23 18:01:16 +00:00
kristjanmoore
cb8a903240
Update changelog
2020-08-23 17:38:27 +00:00
lethosor
8779ca0659
Merge remote-tracking branch 'myk002/quickfort_civzones' into develop
2020-08-21 00:34:26 -04:00
lethosor
7bac4c89c4
Update API docs for setJobCooldown and removeWorker, use "cooldown" for consistency with C++
...
Ref http://www.bay12forums.com/smf/index.php?topic=164123.msg8180385#msg8180385
2020-08-19 17:12:40 -04:00
lethosor
45a0b7b3a6
Fix stockpiles crash when building food map
...
Fixes #1628
Broke due to ecd6bcc9ed
2020-08-18 21:00:10 -04:00
lethosor
19a4d1df5a
Merge remote-tracking branch 'myk002/quickfort_buildingplan' into develop
2020-08-17 23:43:05 -04:00
Myk Taylor
e4a35514ab
document buildingplan Lua API
2020-08-15 23:03:49 -07:00
Myk Taylor
e546d3eec3
rename is_civzone to the more general allow_wall
2020-08-15 20:13:48 -07:00
Myk Taylor
dd3ff7252d
document additional parameter to checkFreeTiles
2020-08-15 17:26:38 -07:00
Myk Taylor
1e9562bd76
add target label for xlsxreader
2020-08-10 23:35:38 -07:00
Myk Taylor
0d9614154f
don't turn a rst list into code
2020-08-10 23:04:05 -07:00
Myk Taylor
a2279cc9a7
update docs in Lua API.rst too
2020-08-10 14:37:59 -07:00
Myk Taylor
4a04273fae
document xlsxreader functions
2020-08-09 09:28:19 -07:00
lethosor
f2b0f012c9
Bump to 0.47.04-r2
2020-08-08 14:53:24 -04:00
lethosor
504b0c1ec7
Update changelog ( #1596 )
2020-08-08 14:47:59 -04:00
lethosor
8f047530c4
Make Units::getRaceNameById and other ID-related functions available to Lua
2020-08-08 14:28:17 -04:00
lethosor
13380008c4
Update scripts, authors, changelog
2020-08-08 13:28:31 -04:00
lethosor
3b3b0be8c5
Update submodules, tweak changelog order
2020-08-08 02:00:12 -04:00
lethosor
6a1f046995
Add --sizecheck option to Linux launcher script, update docs
2020-08-08 00:41:04 -04:00
lethosor
f7fda8e7f5
Update changelog, authors, xml ( #1615 )
2020-08-08 00:06:59 -04:00
Ryan Bennitt
23c22b3b9d
Merge branch 'develop' of https://github.com/DFHack/dfhack into feature/manipulator_goal
2020-08-07 22:17:32 +01:00
Ryan Bennitt
a85b77e6f1
Retrieve goal string values from enum attributes and add new Units methods to Lua API and docs
2020-08-07 22:07:48 +01:00
lethosor
c7e4c724e8
Sort tweaks alphabetically
2020-08-06 22:37:04 -04:00
lethosor
0c53b2b6c5
Add do-job-now tweak
...
Forum thread: http://www.bay12forums.com/smf/index.php?topic=176700
Original source: https://github.com/dlmarquis/dfhack/blob/dojobnow-r1/plugins/dojobnow.cpp
Co-authored-by: dlmarquis <dlmarquis@users.noreply.github.com>
2020-08-06 22:36:57 -04:00
lethosor
bdb9433822
Update/expand Contributing.rst regarding pull requests
2020-08-06 02:30:17 -04:00
lethosor
7c2af344a1
Update changelog ( #1564 ) and xml ( dfhack/df-structures#400 )
2020-08-06 02:04:23 -04:00
lethosor
dba7df7ab8
Add "delete word" support to Console-posix
2020-08-02 23:10:35 -04:00
lethosor
411176c75e
Add rudimentary map docs with tile descriptions from @AtomicChicken
...
Based on http://www.bay12forums.com/smf/index.php?topic=164123.msg8158676#msg8158676
2020-07-28 00:38:22 -04:00
lethosor
c1219642b5
Reorganize dev docs TOC, add label to remote TOC
2020-07-28 00:21:23 -04:00
lethosor
0f0306fc84
Move to internal changelog section + shorten
2020-07-25 15:20:20 -04:00
Myk Taylor
48d4013bcb
don't list subdirectories named 'internal'
...
instead of just specifically for lua files with a '-internal.lua' suffix
2020-07-24 22:07:16 -07:00
Myk Taylor
da11932d6b
Merge remote-tracking branch 'upstream/develop' into internal_scripts
2020-07-24 20:47:24 -07:00
lethosor
fcb14623a7
Update authors, submodules
...
Ref dfhack/scripts#162
2020-07-24 22:18:00 -04:00
lethosor
fddda1818e
Merge remote-tracking branch 'myk002/quickfort_skeleton' into develop
2020-07-24 22:08:24 -04:00
Myk Taylor
86e9f69d42
Merge branch 'quickfort_skeleton' into internal_scripts
2020-07-24 08:24:45 -07:00
Myk Taylor
ca1742243b
Merge remote-tracking branch 'upstream/develop' into quickfort_skeleton
2020-07-23 22:45:01 -07:00
Myk Taylor
e61f2b7451
update Lua API.rst
2020-07-23 22:44:34 -07:00