Commit Graph

342 Commits (d0752764be3783442b297626ed215d0df89e4a64)

Author SHA1 Message Date
lethosor 899fa3d940
Fix quickfort docs link in data/blueprints/README.md 2022-11-15 15:06:40 -05:00
myk002 4f5cb196a7 scope keybindings closer to their area of use
so they don't clutter the hotkeys list unnecessarily
the better solution for many of these commands is hotkey guards, but we
don't yet support hotkey guards for scripts
2022-11-14 19:54:58 -08:00
myk002 511250afbe reorder keybindings, no definition changes 2022-11-14 19:54:58 -08:00
myk002 89e579239f update dreamfort help, add qsp for training bolts 2022-11-14 19:53:46 -08:00
myk002 bdf201c670
ensure keybinding shows up in hotkeys command
not overlay
2022-11-14 16:46:03 -08:00
myk002 234919ffe1
replace hotkeys keybinding with menu keybinding 2022-11-14 16:46:01 -08:00
myk002 6e0a583e8d
enable overlay from init scripts; self-enable bad
loading other plugin modules during plugin_init results in those other
plugin modules not getting initialized properly. specifically, their
DFHACK_PLUGIN_LUA_FUNCTIONS and commands don't get added to their lua
module namespaces.
2022-11-14 16:40:35 -08:00
myk002 9199f8207f
add global keybinding for on-screen keyboard 2022-10-19 14:05:20 -07:00
myk002 fea0ce0718
fix cvs quoting 2022-10-14 13:11:26 -07:00
myk002 b1bf80e585
support "group" file split strategy for blueprint 2022-10-14 12:27:24 -07:00
myk002 aa83aa4e71
handle construct phase in ecosystem tests 2022-10-12 14:51:36 -07:00
myk002 a0cc040d9c
use new prioritize defaults 2022-09-28 12:15:25 -07:00
Myk Taylor b744d1a8e5
add medical jobs to the priority list
as per discussion on reddit
https://www.reddit.com/r/dwarffortress/comments/xj00e9/science_job_priority/
2022-09-26 22:08:55 -07:00
Myk Taylor ea7326a1c8
add more job types to the example prioritize list 2022-09-24 20:47:16 -07:00
myk002 a392a5371d
add keybinding for gui/workorder-details 2022-09-07 22:02:33 -07:00
myk002 446c321c62
fix spacing error
and floorplan error
2022-09-04 12:27:50 -07:00
myk002 ecb0a470d2
declare zone before building chest for hospital
otherwise the hospital doesn't get stocked
2022-08-31 17:38:12 -07:00
myk002 8804dab182
update dreamfort traffic designations 2022-08-29 22:04:22 -07:00
Myk 36e9af8c2b
Update data/init/dfhack.keybindings.init
Co-authored-by: Alan <lethosor@users.noreply.github.com>
2022-08-19 09:38:03 -07:00
myk002 d0967b7e59
add alt-N keybinding for do-job-now 2022-08-19 09:34:38 -07:00
myk002 471be06995 add secondary hotkey for gui/launcher 2022-08-15 16:47:11 -07:00
myk002 cc5d564b42 support backtick as a keybinding
and bind it to gui/launcher
2022-08-15 16:47:11 -07:00
myk002 6abec116b5
add seed values for command usage frequency
based on the tool popularity survey responses, with some builtin
commands that could not be represented on the survey boosted so they
appear higher
2022-08-15 16:20:20 -07:00
myk002 f98015ae55
ensure we run every N ticks, not frames
add more debug messages
fix watching/unwatching/forgetting races that aren't in the watchlist
2022-08-03 21:44:25 -07:00
Myk 28e15162a5
reorganize init scripts into dfhack-config (#2232)
* reorganize init scripts into dfhack-config

allows player init scripts to build on defaults instead of replace them
this also moves the init scripts out of the main df directory

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* escape asterisks in docs

* remove unneeded dfhack.init file creation for test

* write the test init script to the new init dir

* create the init dir before trying to write a file

* rename default init files for clarity

* Update changelog

* Update docs/changelog.txt

Co-authored-by: Alan <lethosor@users.noreply.github.com>

* Try to get buildmaster to work with old branches

* Update changelog

* get keybindings from all init scripts

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Fix spacing in changelog

* split default loading into its own file

* update docs with new changes

* update help text wording in default init files

* Apply suggestions from code review

Co-authored-by: Alan <lethosor@users.noreply.github.com>

* Alphabetize changelog

* Update onMapLoad.default.init

* Update onMapLoad.init

* Update Core.rst

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Alan <lethosor@users.noreply.github.com>
2022-07-10 08:54:55 -07:00
Myk 9f44fd3f72
[manipulator] add the professions library (#2234)
* move professions out of the examples folder

* install professions into professions/library

* guard unguarded header from multiple inclusion

* load and display library professions

* update changelog

* move example professions docs from examples guide

* update dreamfort documentation

* note that professions folder has changed

* Fix bad merge
2022-07-06 07:21:26 -07:00
Myk e0d37a31ae
Make the manager orders library available by default (#2233)
* move orders out of examples directory

* install orders into library dir

* read orders from new library dir

* update documentation

* update dreamfort references to orders import

* update changelog

* ignore json files in pre-commit
2022-07-06 07:03:29 -07:00
myk002 9163728b99
hide blueprints that should be hidden, update help 2022-06-21 12:09:12 -07:00
myk002 4de5b89fa3
don't try to build up stairs on flat ground 2022-06-10 15:59:19 -07:00
myk002 c940f086b5 make the extra_fns functionality clearer 2022-06-06 16:44:11 -07:00
myk002 1424e8c867 remove extra EOF newline 2022-06-04 20:05:11 -07:00
myk002 42c35b05cc update help text for library blueprints
refer users to gui/blueprint for interactive positioning
2022-06-04 20:05:11 -07:00
Myk d9addb0f24
[gui/quantum] add integration test (#2175)
* add integration test for gui/quantum

* exercise the gui/quantum ui a little more
2022-06-03 13:19:56 -07:00
Myk ed2ba69713
Improvements to dreamfort, quickfort keystroke aliases, and example orders (#2162)
* add alt-f as a hotkey for quickfort

to mimic the existing windows hotkey for the old quickfort
hopefully this will ease the transition from the old quickfort to the
new

* add and document new quickfort aliases

* reduce quantity requirement for dyeing

15 is just too high. the counter counts bags, not units

* dreamfort blueprint improvements

most of these suggested by ldog on the forums. Thanks!
- significantly extend the list of hostile creatures that get stashed in the prisoner quantum stockpile
- send adamantine thread to the metalworker stockpiles
- give from thread/cloth stockpiles to clothier, loom, and dyer to protect the adamantine thread
- automatically create tavern, library, and temple locations (restricted to residents only by default)
- automatically associate the rented rooms with the tavern
- place a stockpile under the dump zone so you can set up stockpile links for dumped items
- doc improvements. in particular, point people to the new assign-minecarts tool for assigning minecarts to quantum stockpile dumps

* update changelog

* fix typo in cloth stockpile settings

* fix typo in guildhall location setup

* don't restrict stockpiles for clothiers and dyers

* deprecate jugs alias and add stone|woodentools

* remove dye thread, make jugs wooden

remove dye thread to protect adamantine
make jugs wooden to differentiate them from scroll rollers. that gives
us a chance to actually have a usable jugs-only stockpile

* dreamfort improvements

- move trap corridor gates and levers before the walls and traps so they get
  constructed first
- give useful names to the craftsdwarf's workshops
- redesign the services level to:
  - fit better in a 1x1 embark
  - add doors to the hospital recovery rooms to protect from
    werebeasts-to-be
  - add an interrogation room (sheriff's office) next to the jail

* shape hospital zone to exactly the hospital area

* don't clutter the hospital with statues

* update changelog
2022-06-02 15:51:45 -07:00
myk002 e4f951b01d make both easy and lavish meals 2022-05-13 14:36:49 -07:00
myk002 b489a8584f add more prepared meals logic
also remove material matchers for jugs and pots. we only care that we
have enough jugs and pots, not that they are rock
2022-05-13 14:36:49 -07:00
Myk 8703eeef91
[dreamfort] pull in changes from Google Drive sources (#2124)
* update dreamfort from online spreadsheets

* add zones for guildhall level
2022-05-02 09:29:02 -07:00
Myk 24dd4d8ac0
Update init files (#2117)
* update example init files

replace onLoad.init-example with documentation on how to create scripts that run on world/map load
it was confusing to show it being loaded with sc-script since it gets autorun anyway if it is just named properly

* update changelog

* add quickfort keybinding

* move standard tweaks from dreamfort init to main
2022-04-29 20:24:09 -07:00
lethosor d1f0edd33b
Apply initial pre-commit config 2022-04-12 14:48:19 -04:00
myk002 54e8761aa0 capture fortifications and engravings in blueprint 2022-04-01 12:20:37 -07:00
Myk b8c33d8ed0
[quickfort] add documentation and test data for config mode (#2070)
- documents the new config mode
- adds integration test data for [quickfort] implement config mode scripts#361
- adds a note recommending that config mode be used instead of the quickfort query_unsafe setting
- converts the dreamfort /setup blueprint to use config mode; also adjust the aliases used in that blueprint to no longer escape from and re-enter query mode
- adds some more distinctive anchor names for the quickfort and blueprint guides
2022-04-01 09:21:16 -07:00
myk002 8b0928e636 add functional tests for building transformations 2022-03-28 16:00:29 -07:00
myk002 0664524249 update dreamfort blueprints
- update help text
- add statues to corridors on services level
- add optional default furnishings to the guildhall level and update help
- center statue lines in apartment level corridors
2022-03-28 16:00:29 -07:00
myk002 11d5b3f86e update help text for the aquifer_tap blueprint 2022-03-28 16:00:29 -07:00
Myk 17b16d8536
[quickfort] add functional tests for transformed expansion syntax (#2042)
* functional tests for transformed expansion syntax
* test negative extents for tracks
* update scripts tag
2022-03-21 16:24:51 -07:00
myk002 c5c9e3c56d add mug production to "basic" manager orders 2022-03-12 13:45:32 -08:00
myk002 0f33deb0ab add missing label for aquifer_tap.csv 2022-03-01 05:44:36 -08:00
myk002 f0fa8ed625 add prisoner quantum stockpile and related help
adds help text for how to handle a siege and how to manage prisoners
after a siege
2022-03-01 05:44:36 -08:00
myk002 17f400d091 add light aquifer tap library blueprint and docs 2022-02-26 14:54:42 -08:00
myk002 56e8de592c simplify dreamfort with new quickfort features
also:
- add in iron and flux indicators on the industry level
- fix out of date docs for professions
2022-02-19 17:54:01 -08:00
Myk 6a8ceb5a78
Add more whitespace in the pump stack help 2022-02-18 16:08:37 -08:00
myk002 89038ffafa add pump stack blueprint to the libarary, add docs 2022-02-18 15:47:33 -08:00
myk002 94f326804e test transformations in meta blueprint regression 2022-02-18 14:54:45 -08:00
myk002 c330d875d5 use goldens for quickfort track ecosystem test
for more natural expression of the track blueprint
2022-02-12 18:46:10 -08:00
myk002 139d53ebc2 add ecosystem regression tests for meta blueprints 2022-02-12 18:28:47 -08:00
myk002 c8e09f7143 add zone ecosystem tests 2021-10-04 15:32:26 -07:00
myk002 f776219a6f standardize descriptions of ecosystem tests 2021-10-04 15:32:26 -07:00
myk002 15456c523b add "tracks" ecosystem test 2021-10-04 12:53:31 -07:00
myk002 9d2e51c003 add tracks to "basic" ecosystem test 2021-10-04 12:53:31 -07:00
myk002 44fc289b79 remove the "all" prefix from ecosystem tests
so they're easier to tell apart when listing the dir
2021-10-04 12:53:31 -07:00
myk002 089de5f422 support non-rectangular extent-based buildings 2021-10-03 08:54:27 -07:00
myk002 12eb9e48c7 support multi-type and non-rectangular stockpiles
and add integration tests
2021-10-02 12:50:47 -07:00
myk002 9d1f84c6ac add all buildings and convert to minimal
also add adjacent multi-tile buildings to ensure boundaries are detected
properly
2021-10-02 09:25:19 -07:00
myk002 24e5bd7b2c remove orders for gypsum plaster b/c df bug
see: https://www.bay12games.com/dwarves/mantisbt/bug_revision_view_page.php?bugnote_id=0041146#r16745
2021-09-22 10:30:41 -07:00
myk002 91304f4c36 dreamfort docs refresh 2021-09-20 13:01:07 -07:00
myk002 4a00ab19fc update embark suggestions 2021-09-20 13:01:07 -07:00
myk002 346910ecbc set is_validated to false for biz. bronze maces 2021-09-20 13:01:07 -07:00
myk002 3962251edd add iron bolts and biz. bronze weapons/armor/bolts
also fix off-by-one errors in order conditions and rebalance some of the
thresholds
2021-09-20 13:01:07 -07:00
myk002 b7a9f4a95f ensure booze production can keep up with demand
becomes relevant when population nears 200
2021-09-20 13:01:07 -07:00
myk002 0be7bf37d6 reduce limit for flux from 20 to 5 for making iron
and remove non-hauling labors (except mechanics) from military classes
2021-09-20 13:01:07 -07:00
myk002 9f1a7c906e adjust professions to match new embark guidance 2021-09-20 13:01:07 -07:00
myk002 d5a9a9534e dreamfort improvements
- shift seventh dwarf from craftsdwarf to farmer
- give starting miners some skill in engraving to make smoothing the
  cistern go faster
- update embark suggestions and sample profile accordingly
- widen clearcutting area for surface fort so trees don't overhang the
  roof
- move wax from the cookables stockpile to the industry goods pile
- move coins from goods to metal
- move sheets from goods to textiles
2021-09-20 13:01:07 -07:00
myk002 f26c37aa9f add scroll and shell craft orders 2021-09-20 13:01:07 -07:00
myk002 3fa8e06f56 don't produce iron weapons/armor if we have flux 2021-09-20 13:01:07 -07:00
myk002 1fd2eba2db give generated blueprints proper labels 2021-09-10 11:11:44 -07:00
myk002 4a593a489c add reference to dffd file in dreamfort help 2021-09-05 23:54:48 -07:00
myk002 5c444e02d4 add comments to the onMapLoad_dreamfort.init file 2021-09-05 23:54:48 -07:00
myk002 f8d041b9aa dreamfort and supporting files update
- merge otherstock into basic (safe now that we have orders sort)
- don't overproduce weapons and armor
- update dreamfort help and examples guide
2021-09-03 00:31:42 -07:00
myk002 f21ba5c8aa
implement orders sort, document, and add to init 2021-09-01 13:04:23 -07:00
myk002 b1632c0413 alphabetize professions list; add Migrant 2021-08-30 23:52:52 -07:00
myk002 62bbfb1296 update examples documentation 2021-08-30 23:10:28 -07:00
myk002 c33a20c589 add prioritization for hide tanning 2021-08-30 23:10:28 -07:00
myk002 27c901d0d2 add checklist items for *stock orders import 2021-08-30 23:10:28 -07:00
myk002 258874bcd1 move mechanisms to basic add wheelbarrow, minecart 2021-08-30 23:10:28 -07:00
myk002 591db4cf92 modify embark guidance based on new professions 2021-08-30 23:10:28 -07:00
myk002 fafd169e20 remove stonecrafting from startmanager 2021-08-30 23:10:28 -07:00
myk002 9094011d49 move cages to basic, reindex each file from 0 2021-08-30 23:10:28 -07:00
myk002 83dfe1b55a incorporate ldog's rebalanced professions 2021-08-30 23:10:28 -07:00
myk002 8d2eb24f51 dreamfort blueprint improvements
- allow empty cages and traps on the surface animal stockpile
- remove animals from the industry quantum stockpile
- split furniture from the goods feeder stockpile so it can have
  wheelbarrows assigned to it
2021-08-30 23:10:28 -07:00
myk002 3bf6c57a72 restrict lye stockpile to 2 barrels/pots 2021-08-30 23:10:28 -07:00
myk002 9905e5158f use new prioritize param 2021-08-30 23:10:28 -07:00
myk002 166069e5be fix some help text 2021-08-30 23:10:28 -07:00
myk002 c191135884 update dreamfort blueprints
- move orders for /services2 down to where we run /services2
- plan the roof over the surface barracks before the surface flooring to
  encourage the easily-missed-but-important-for-the-next-blueprint roof
  to get built first
- add a fourth craftsdwarf's workshop to the industry level, move some
  workshops around to compensate
- add tip for how to configure mason's workshops
- forbid goblets in the goods feeder stockpile
- use dig priorities to get the guildhall tiles underneath the cistern
  tiles dug quickly before the cistern gets wet
2021-08-30 23:10:28 -07:00
myk002 cc43c0a9c2 remove FillPond from priority list, add CleanSelf and food hauling 2021-08-30 23:10:28 -07:00
myk002 2f0eb04ee1 use "lye" as counter instead of "lye-containing" 2021-08-30 23:10:28 -07:00
myk002 65e5b89d4c add goblet-related aliases 2021-08-30 23:10:28 -07:00
myk002 3a0d5f09ac remove blocks from starting misc pile 2021-08-30 23:10:28 -07:00
myk002 6191b24153 refresh dreamfort blueprints
- move the first apartments level up in the checklist. it's usually needed before some of the "frills" blueprints
- remove unreliable `addcloak` alias from the `/setup` blueprint and replace it with a message that suggests manually adding leather cloaks to uniforms. We'll find a way to automate this someday.
- add instructions for expanding the `Inside` burrow as the fort is built
- add two craftsdwarf's workshops to the industry level, for a total of three. add suggestions for setting their profiles to restrict them individually to wood, stone, and bones
- add suggestion for restricting the mechanic's workshop to only be used by skilled dwarves
- widen the 1-wide corridor in the apartments level to 2-wide. the blueprint still fits within the footprint of the suites level, so we still fit fine in a 1x1 embark.
2021-08-30 23:10:28 -07:00
myk002 6641a56434 add "restock" orders for rock, glass, and wood
also adjust bags and collect sand orders to support glasstock.json
2021-08-30 23:10:28 -07:00
myk002 8fe5ecc30a automatically prioritize fish cleaning 2021-08-30 23:10:28 -07:00