Commit Graph

10324 Commits (81905fa8fca5b356126e12b61c90e3a786b192d1)
 

Author SHA1 Message Date
myk002 96b117d369
update plugin docs and changelog 2021-01-11 14:37:57 -08:00
Myk Taylor 339d5ce26b
set buildingplan global settings from prompt
allow buildingplan settings to be set from the DFHack# prompt. For
example, if a player knows they'll always want to build with blocks,
they could add the following two lines to onMapLoad.init:

buildingplan set boulders false
buildingplan set logs false
2021-01-10 17:29:53 -08:00
myk002 4e1c70bc06
update changelog 2021-01-10 17:10:44 -08:00
Myk Taylor 175776812e
implement a nice API wrapper for getopt 2021-01-10 16:51:46 -08:00
Myk Taylor 3b45878d41
allow non-options in commandlines and return them
also call qerror() on error, not os.exit
2021-01-10 16:51:45 -08:00
Myk Taylor 20276be50f
check in unaltered version of alt_getopt 2021-01-10 16:51:45 -08:00
lethosor 69ce5d9e3f
Send runCommand output to correct output stream
e.g. when run with dfhack-run
2021-01-08 21:06:42 -05:00
lethosor 614ea739d0
Merge branch 'develop' into lua-runcommand 2021-01-08 20:45:23 -05:00
lethosor 462208cad3
Merge remote-tracking branch 'cvuchener/fix-loadlibrary-errormessage' into develop 2021-01-06 21:00:03 -05:00
lethosor cdd5a61455
Merge remote-tracking branch 'TymurGubayev/patch-1' into develop 2021-01-06 20:59:13 -05:00
Timur Kelman a69c4b9b6d
fix example in Lua API.rst
Whitespace in the wrong place.
2021-01-04 17:05:55 +01:00
lethosor bfab968eee
Merge remote-tracking branch 'TymurGubayev/patch-1' into develop 2021-01-03 22:13:53 -05:00
lethosor 7a0f923e99
Add workorder-recheck keybinding, update scripts 2021-01-03 22:12:20 -05:00
Clément Vuchener e7748e3f73 Add an error message when LoadLibrary fails 2021-01-01 15:35:59 +01:00
Timur Kelman f115767713
add missing `\n` in digFlood's example 2020-12-31 13:47:02 +01:00
lethosor 936a13181a
Update changelog 2020-12-30 15:08:20 -05:00
lethosor b585bca90b
look_menu_search: fix crash due to certain cursor keys not restoring list
Fixes #1737
2020-12-30 15:04:43 -05:00
lethosor a7232499ac
Silence some warnings from GCC 10
Specifically `gcc (Ubuntu 10.2.0-13ubuntu1) 10.2.0`
2020-12-30 00:04:49 -05:00
lethosor b89fe222c7
Update xml 2020-12-29 23:47:44 -05:00
lethosor a4ac11c238
Merge remote-tracking branch 'PatrikLundell/embark-assistant' into develop 2020-12-27 23:38:32 -05:00
lethosor 4460584361
Standardize CI scripts to print both raw and GitHub actions messages when run under GitHub actions
Apparently the location information is no longer visible in build logs

Pointed out in https://github.com/DFHack/dfhack/pull/1704#issuecomment-726991055
2020-12-27 23:35:36 -05:00
PatrikLundell 58a4dbe15d corrected temperature calculation factor order 2020-12-27 11:25:04 +01:00
PatrikLundell 4a2704665d Merge branch 'develop' of https://github.com/DFHack/dfhack into embark-assistant 2020-12-27 11:20:18 +01:00
PatrikLundell dbfd838786 corrected temperature calculation factor order 2020-12-27 11:07:33 +01:00
lethosor eb6957a167
Bump to 0.47.04-r4 and update submodules 2020-12-24 13:32:44 -05:00
lethosor debeac14c1
Stop reversing changelog entries
This makes entries show up in the same order in the generated docs as in changelog.txt

The only other significant difference this causes is that when notes from multiple prereleases are combined into one stable release, changes from the newer version will show up first now (i.e. in the same order as reading the changelog from the top down), but this has minimal impact.
2020-12-24 13:29:56 -05:00
lethosor c6aac0d9d5
Bump changelog version and improve consistency 2020-12-24 13:29:50 -05:00
lethosor 8cace1eb06
probe: print more designation and occupancy-related flags
This was useful for testing #1729
2020-12-23 15:36:39 -05:00
lethosor 4c0f9f032d
Update scripts (dfhack/scripts#236) 2020-12-23 11:58:25 -05:00
lethosor 251511fcb5
Merge remote-tracking branch 'myk002/myk_extents' into develop 2020-12-23 11:57:33 -05:00
lethosor 3c8ee35f98
Documentation.rst: explain GitHub Actions
Ref dfhack/scripts#235
2020-12-21 17:01:21 -05:00
lethosor 4ffb3ffbb8
Documentation.rst: move dependencies up to top-level section + misc tweaks
Makes it easier to jump to "Building the documentation"
2020-12-21 16:47:03 -05:00
lethosor bf554d508f
Merge remote-tracking branch 'myk002/myk_library_docs' into develop 2020-12-20 01:22:27 -05:00
lethosor eff360b49d
Merge remote-tracking branch 'PatrikLundell/embark-assistant' into develop 2020-12-20 01:15:40 -05:00
myk002 17f8048ab1
update changelog 2020-12-17 10:08:01 -08:00
myk002 16a8f31b93
high level docs for quickfort blueprint library 2020-12-17 09:59:37 -08:00
PatrikLundell 0b7ab90d3d corrected mismatched indices 2020-12-17 11:49:15 +01:00
myk002 dfbad3ec54
update changelog 2020-12-16 11:15:53 -08:00
myk002 3ba984c22c
only reset extents if they are unusable
this allows callers of Buildings::setSize() to "pre-initialize" the
extents to declare non-rectangular structures. this allows quickfort to
create non-rectangular stockpiles, farm plots, zones, etc. the extents
are still reset as before if the size of the building doesn't match the
caller's expectations.

this commit also fixes a memory leak when setSize() allocates memory for
extents, but the memory is not deallocated if the building is ultimately
invalid for some reason.
2020-12-16 11:10:47 -08:00
lethosor de21e0cdb8
Merge remote-tracking branch 'PatrikLundell/embark-assistant' into develop 2020-12-16 13:25:25 -05:00
lethosor 371314d9c3
Update scripts, tweak test 2020-12-16 13:16:13 -05:00
lethosor c5816fd29f
Merge remote-tracking branch 'lethosor/fix-workflow-mill' into develop 2020-12-16 13:15:22 -05:00
PatrikLundell 3e3a34af99 corrected index usage 2020-12-16 10:59:27 +01:00
lethosor d437cfe649
Add test for invalid job types in workflow's job_outputs 2020-12-15 21:36:57 -05:00
lethosor bd92d8f27a
Make require() reload modules when run in tests 2020-12-15 21:27:21 -05:00
lethosor d3aeca495f
Set dfhack.internal.IN_TEST flag when running tests 2020-12-15 21:27:19 -05:00
lethosor e671e57024
Update scripts (quickfort) 2020-12-14 00:17:26 -05:00
lethosor cdfdfb0eb1
Update changelog 2020-12-14 00:16:28 -05:00
lethosor 5d3924a8c0
Remove old jobs from plant_products
Identified by Quietust in #1722
2020-12-14 00:04:53 -05:00
lethosor 123c207d9c
Fix error in material_defs lookups
Changed in dfhack/df-structures@7dfea1f1d4
Fixes #1722
2020-12-14 00:03:29 -05:00