Commit Graph

2570 Commits (89be6f56ef60303dbc0b34e22f7d87a128913701)

Author SHA1 Message Date
shevernitskiy a2d1d416c4
Update docs/dev/Lua API.rst
Co-authored-by: Myk <myk.taylor@gmail.com>
2023-08-30 12:49:09 +03:00
shevernitskiy 14c4e948ba
Update docs/dev/Lua API.rst
Co-authored-by: Myk <myk.taylor@gmail.com>
2023-08-30 12:49:01 +03:00
shevernitskiy 72dbb68a5c
Update docs/dev/Lua API.rst
Co-authored-by: Myk <myk.taylor@gmail.com>
2023-08-30 12:48:54 +03:00
shevernitskiy c0ac7ad8a2
Update docs/dev/Lua API.rst
Co-authored-by: Myk <myk.taylor@gmail.com>
2023-08-30 12:48:47 +03:00
shevernitskiy 13e0a49eef
Update docs/dev/Lua API.rst
Co-authored-by: Myk <myk.taylor@gmail.com>
2023-08-30 12:48:36 +03:00
shevernitskiy b3d423b8a4
Update docs/dev/Lua API.rst
Co-authored-by: Myk <myk.taylor@gmail.com>
2023-08-30 12:48:26 +03:00
shevernitskiy 7ce7bd15f6
Update docs/dev/Lua API.rst
Co-authored-by: Myk <myk.taylor@gmail.com>
2023-08-30 12:48:14 +03:00
shevernitskiy 5c6942a89c intendation for example 2023-08-30 10:45:17 +03:00
shevernitskiy a1fe49e52a typo 2023-08-30 10:37:23 +03:00
shevernitskiy ff82cb2dfc docs work 2023-08-30 10:05:23 +03:00
Mikhail 26b81cfbbd Merged military rating back into one. Adjusted formulas for melee and ranged rating. Added skill effectiveness ratings for ranged and melee. Changed any melee and any ranged to skill effectiveness ratings. Added info about new ratings and research links to the docs. 2023-08-30 09:39:13 +03:00
Kelly Kinkade e87aefa7bf seedwatch: changelog 2023-08-30 00:08:51 -05:00
shevernitskiy 8a015f7f87 review 2023-08-30 07:38:21 +03:00
Kelly Kinkade fa9d2e2175 seedwatch: ignore tree seeds 2023-08-29 22:23:13 -05:00
Mikhail Panov 73af533a90
Update docs/plugins/sort.rst
Co-authored-by: Myk <myk.taylor@gmail.com>
2023-08-29 10:59:28 +03:00
Myk 6c3da5159f
Merge pull request #3707 from myk002/myk_quickfort_by_id
update quickfort user guide for new take_from semantics
2023-08-28 18:13:20 -07:00
Myk Taylor 6185df25d6
update quickfort user guide for new take_from semantics 2023-08-28 17:59:52 -07:00
Myk Taylor a8bf8a04ae
add in value for units contained in cages 2023-08-28 15:42:56 -07:00
Myk Taylor 423bba2c24
pass getAnyStockpile and getAnyCivZone through ZScreens 2023-08-28 13:27:46 -07:00
shevernitskiy 6f11812729 create and delete textures 2023-08-28 10:00:39 +03:00
Mikhail c91a02ca6a Reworked fallback from rating sortings. Renamed melee potential to solo combat potential. Added group combat potential. 2023-08-27 17:52:09 +03:00
Mikhail 25f2c1746a Changed melee and ranged ratings to statistically proven linear formulas. 2023-08-25 16:18:20 +03:00
Mikhail a1d68286cd Added melee rating, ranged rating, mental stability rating and stress to sorting options on military screen in sort.lua. Added info about new sorting methods to sort.rst. Added name to Authors.rst. 2023-08-24 16:26:09 +03:00
Kelly Kinkade b76333ae87 `tailor`: remove crash
clothing items may have an invalid maker race; this should not happen but it does so we have to deal with it
2023-08-21 12:46:24 -05:00
Myk Taylor 6caed7debe
update changelog 2023-08-20 10:09:08 -07:00
Myk Taylor 1763a16831
add training check functions to Units 2023-08-20 10:08:25 -07:00
Myk Taylor 8b91e84944
offer sort by race on animal assignment screen 2023-08-18 19:28:24 -07:00
Myk Taylor 4f04d551af
update changelog 2023-08-16 06:07:49 -07:00
Myk Taylor d9fd090e52
update docs for sort 2023-08-16 06:07:19 -07:00
Myk Taylor 296a34834c
expose and use casteFlagSet 2023-08-13 00:20:08 -07:00
Myk 71e5901214
Merge pull request #3672 from myk002/myk_gui
[orders] prevent overlay from appearing on the new workorder page
2023-08-12 23:21:13 -07:00
lethosor e69b6ed4ea
Merge remote-tracking branch 'lethosor/struct-fields-lua' into develop 2023-08-13 01:43:19 -04:00
lethosor b039f227c3
Document type._fields 2023-08-13 01:16:25 -04:00
Myk Taylor 35b0765f58
update changelog 2023-08-12 22:06:52 -07:00
Myk Taylor c37dce7c33
detect extended tile properties and communicate them back to lua 2023-08-12 15:53:22 -07:00
Myk Taylor e61c4e8f86
update zone docs
ref: #3667
2023-08-11 20:18:07 -07:00
Myk Taylor ab9ef7a1f1
update changelog 2023-08-11 18:33:50 -07:00
Myk 1307c727cf
Merge pull request #3665 from myk002/myk_keykey
Refine keyboard input handing
2023-08-11 18:22:35 -07:00
Myk Taylor a9f47e5680
add New Tools as a valid changelog header
and add to default template
2023-08-11 15:31:37 -07:00
Myk Taylor a6ec77b584
update changelog 2023-08-11 12:58:44 -07:00
lethosor 34ddf6bed7
Merge remote-tracking branch 'lethosor/memscan-funcs' into develop 2023-08-11 01:38:15 -04:00
lethosor 46499a66cc
Add cxx_demangle() and Lua wrapper 2023-08-10 15:01:19 -04:00
Myk fdf878c3b9
Merge pull request #3655 from myk002/myk_banner
[BannerPanel] use square brackets instead of color blocks
2023-08-09 17:51:26 -07:00
Myk cd2d408006
Merge pull request #3642 from randombk/remotefortressreader-reload
Add option to force-fetch world blocks in RemoteFortressReader
2023-08-07 20:01:56 -07:00
Myk 031191ae9a
Update docs/changelog.txt 2023-08-07 19:40:48 -07:00
Myk 970babe77c
Merge pull request #3654 from myk002/myk_mod_reload
ensure active mod scripts are properly reloaded
2023-08-07 19:39:39 -07:00
David Li 8b5321fe86 Add option to force-fetch world blocks in RemoteFortressReader
The current behavior of GetBlockList in the RemoteFortressReader
  Protobuf RPC API is to only return blocks that have changed since
  the last fetch. This causes problems when the RPC client (i.e. a
  world renderer) wants to restart, as it can no longer fetch the
  full world state.

  This patch adds a `force_reload` option to BlockRequest, defaulting
  to `false` (the current behavior). When passed, it returns all
  requested blocks regardless of whether they have changed or not.

Signed-off-by: David Li <jiawei.davidli@gmail.com>
2023-08-07 19:17:04 -07:00
Myk Taylor 99517fcd81
use square brackets instead of color blocks 2023-08-07 17:20:58 -07:00
Myk Taylor 62a1bd6970
ensure active mod scripts are properly reloaded 2023-08-07 17:18:00 -07:00
Myk Taylor 8bff1399d4
add functions to Panel in addition to attributes 2023-08-07 17:02:55 -07:00
Myk 139a3a5ae8
Merge pull request #3649 from myk002/myk_bannerpanel
[widgets] factor banner out into reusable panel class
2023-08-07 12:54:32 -07:00
Myk Taylor 8c166935d5
factor banner out into reusable panel class 2023-08-07 12:40:48 -07:00
Myk Taylor e80884459c
don't display dfhack logo in legends mode 2023-08-07 12:39:20 -07:00
Myk 30befab78f
Merge pull request #3644 from myk002/myk_trade
remove caravan_buying param from getValue call
2023-08-06 23:57:07 -07:00
Myk Taylor 488ad0f827
add changelog template for new verions
and mark unused headers as deprecated
2023-08-06 23:02:45 -07:00
Myk Taylor db48e0eba0
remove caravan_buying param from getValue call
the identity of the selling party doesn't actually affect the value!
2023-08-06 17:38:34 -07:00
lethosor 47b4773786
df.new(): catch errors thrown by allocate()
This can include DFHack::Error::VTableMissing exceptions if the vtable of a
member field is unknown.

Fixes #3627
2023-08-04 17:22:20 -04:00
Myk Taylor a9df9f92d9
update for 50.09-r2 2023-07-21 18:50:15 -07:00
Myk Taylor 87a391b2ce
update changelog 2023-07-21 17:46:38 -07:00
Myk 65fc79c5e2
Merge branch 'develop' into myk_dwarfvet 2023-07-21 14:23:13 -07:00
Myk 993132a334
Merge pull request #3586 from myk002/myk_mod_libraries
infrastructure for mod-added file libraries
2023-07-21 14:19:37 -07:00
Myk Taylor b25266367d
add examples to the docs 2023-07-21 04:17:57 -07:00
Myk Taylor dff4816287
update dwarfvet 2023-07-21 04:12:56 -07:00
Myk Taylor 25301bf93e
update docs 2023-07-20 19:35:02 -07:00
Myk Taylor 040d2caa95
update changelog 2023-07-20 19:22:30 -07:00
Myk Taylor 2370750809
add warm/damp highlight overlay for ascii mode 2023-07-20 19:17:09 -07:00
Myk Taylor e67df53c48
document new blueprints dir in mods 2023-07-20 17:44:09 -07:00
Myk 24500dbafd
Merge pull request #3582 from myk002/myk_living
Units: don't include dead citizens in the getCitizens list
2023-07-19 08:22:46 -07:00
Myk Taylor 19643111e0
move SUPPRESS_DUPLICATE_KEYBOARD_EVENTS pref into cpp 2023-07-19 00:38:37 -07:00
Myk Taylor 0d81f5ce6e
don't include dead citizens in the citizens list 2023-07-18 23:09:19 -07:00
Myk Taylor 2d2ecf6f0d
add TextButton 2023-07-16 20:24:39 -07:00
Myk 2cd226d879
Merge pull request #3566 from myk002/myk_pasture
[zone] initial implementation of pasture assignment screen
2023-07-16 14:36:57 -07:00
Myk Taylor 5fb299c6df
expand egg-laying filter to the entire race, not just the unit 2023-07-16 12:30:12 -07:00
Myk Taylor 4331d7bcc7
document the overlay functionality 2023-07-16 12:16:46 -07:00
Myk Taylor 2fa4efbb8a
initial implementation of pasture assignment screen 2023-07-16 12:16:45 -07:00
Myk Taylor e565aa3578
update changelog 2023-07-16 12:16:06 -07:00
Myk Taylor 39612f0d5a
trade a bin if any contents can be traded
the new trade screens will make it easy to filter out unwanted items
later
2023-07-16 12:15:51 -07:00
Myk Taylor 5c7aea0775
fix logic for autotrain and autotrade 2023-07-16 12:15:48 -07:00
Myk e1ad92295c
Merge pull request #3565 from myk002/myk_exotic
[stockpiles] include exotic pets as tameable
2023-07-16 12:01:22 -07:00
Myk Taylor a820b95d8c
include exotic pets as tameable 2023-07-15 14:40:04 -07:00
Myk Taylor 83f8be5312
add better noble suites and apartments 2023-07-15 14:26:51 -07:00
Myk 1643eac7e0
Merge branch 'develop' into patch-1 2023-07-13 17:02:39 -07:00
Myk 324a8c52e7
Update changelog.txt 2023-07-13 16:08:00 -07:00
egocarib 755ddd9db3
Additional sentence improvements 2023-07-10 19:36:05 -05:00
egocarib d0d12414bf
Fix small typo 2023-07-10 18:43:50 -05:00
Myk cbe821c2f2
Merge pull request #3546 from myk002/myk_misery
[misery] realign the docs to the actual implementation
2023-07-10 11:26:14 -07:00
Myk Taylor 6e565f3275
fix/update summaries 2023-07-09 15:42:43 -07:00
Myk Taylor 206c05feaf
document preference variables 2023-07-09 10:39:26 -07:00
Myk Taylor ff6f7c9454
realign the misery docs to the actual implementation 2023-07-09 10:20:56 -07:00
Myk Taylor ed8bf1cff1
update changelog 2023-07-08 18:40:53 -07:00
Myk Taylor 5a719f0e66
update docs 2023-07-08 17:23:47 -07:00
Myk Taylor 6f48161021
fix quoting in changelog 2023-07-07 15:57:24 -07:00
Kelly Kinkade 6997b6be21 add changelog for 3dveins 2023-07-07 16:00:39 -05:00
Myk Taylor 6a8522ab5e
generalize dfhack.items.isRequestedTradeGood 2023-07-06 03:27:05 -07:00
Myk Taylor 7d3c8bd040
add notes to the API section of the changelog 2023-07-06 03:24:53 -07:00
Myk Taylor b938891e11
add dfhack.items.isRequestedTradeGood 2023-07-06 03:24:36 -07:00
Myk Taylor c2e647b79b
fix item prices and algorithm
adjust prices according to race WAR affinity
2023-07-06 03:24:15 -07:00
Myk Taylor 9849885df6
Revert "generalize dfhack.items.isRequestedTradeGood"
This reverts commit aa6d28bab6.
2023-07-06 03:23:17 -07:00
Myk Taylor aa6d28bab6
generalize dfhack.items.isRequestedTradeGood 2023-07-06 03:21:36 -07:00
Myk 79dbcf0461
Merge pull request #3524 from myk002/myk_copypaste
support copy/paste from system clipboard
2023-07-05 23:09:08 -07:00
Myk c25b6e642e
Merge pull request #3533 from myk002/myk_noble
port API for unit lookup by noble role from quickfort
2023-07-05 19:34:29 -07:00
Myk Taylor c587cad471
generalize to civ roles as well 2023-07-05 17:37:49 -07:00
Myk 8e7d7fefc0
Merge pull request #3527 from myk002/myk_no_extra_keys
filter out spurious STRING keybindings
2023-07-05 12:10:51 -07:00
Myk Taylor cbdb56a1ac
port API for unit lookup by noble role from quickfort 2023-07-03 13:47:43 -07:00
Myk Taylor 7e92123952
update changelog 2023-07-03 11:27:13 -07:00
Myk Taylor 9ca96567a5
move conversion logic to MiscUtils
but keep minimal wrappers in SDL module so we don't leak memory
2023-07-03 11:05:58 -07:00
Myk Taylor fdf2430fc4
filter out spurious STRING keybindings
that don't match actual SDL string input
2023-07-03 09:09:52 -07:00
Myk Taylor d39440d33b
migrate markForTrade logic from logistics to core 2023-07-02 19:05:50 -07:00
Myk Taylor 175c249d29
support copy/paste from system clipboard 2023-07-02 18:04:06 -07:00
Myk Taylor 09027543df
update to 50.09-r1 2023-06-26 16:31:18 -07:00
Myk Taylor 5e13eb89d8
fix internal link to screenhot header 2023-06-25 18:29:21 -07:00
Myk Taylor eff1755675
bump to 50.08-r4 2023-06-23 10:59:21 -07:00
Myk Taylor 5a90a04a8e
handle obsidian 2023-06-21 02:00:06 -07:00
Myk Taylor b571e5b52b
don't diplay orders overlay on subscreens 2023-06-19 16:48:07 -07:00
Myk Taylor 14590d0ae5
increase tin ore count requirements in orders
each order takes multiple boulders of cassiterite. increase limits so
when all orders are active, cassiterite stores are not depleted
2023-06-17 09:36:28 -07:00
Myk 18c228e178
Merge pull request #3479 from myk002/myk_blueprints
[blueprint library] update pump_stack and aquifer_tap
2023-06-17 09:27:57 -07:00
Myk 4a26dab8e5
Merge pull request #3478 from myk002/myk_buildingplan_artifact
[buildingplan] don't select artifacts as masterful quality
2023-06-17 09:27:48 -07:00
Myk Taylor 1390fd2e3e
add note about export mandates 2023-06-17 05:40:55 -07:00
Myk Taylor 5599968fa4
update pump_stack and aquifer_tap library blueprints 2023-06-16 17:18:17 -07:00
Myk Taylor dfeac78aae
don't select artifacts as masterful quality
artifacts no longer have the artifact quality rating
we need to check for the flag explicitly
2023-06-16 16:05:01 -07:00
Myk Taylor 5a208742c3
clean up changelog 2023-06-15 11:28:08 -07:00
Myk Taylor f83f4ccb74
retire gui/automelt 2023-06-14 16:13:29 -07:00
Myk Taylor ca45fec5e6
quickfort user guide update 2nd draft 2023-06-14 15:20:25 -07:00
Myk Taylor f894634eef
update dreamfort case study and general formatting 2023-06-14 11:28:41 -07:00
Myk Taylor 4cd58ccdd2
add spacers between screenshots to separate them 2023-06-13 12:30:37 -07:00
Myk Taylor e4f6424f23
use new logistics features in dreamfort
and document quickfort options
2023-06-12 13:21:24 -07:00
Myk Taylor 0a9056df91
update changelog 2023-06-12 12:55:03 -07:00
Myk Taylor 53efb47c68
remove reference to gui/logistics until it is ready 2023-06-12 12:31:52 -07:00
Myk Taylor 12b2509781
implement autotrain 2023-06-12 12:28:39 -07:00
Myk Taylor e90de61cc1
remove the features feature; we can do it with quickfort properties 2023-06-12 10:59:13 -07:00
Myk Taylor 43fbd89c23
first step at saving features 2023-06-11 22:31:38 -07:00
Myk Taylor 2884abf2a7
fix docs -- we do have a command 2023-06-11 22:28:03 -07:00
Myk Taylor 5ffbb4d0ef
unify and update automelt/autotrade/autodump 2023-06-11 22:28:01 -07:00
Myk c06f54df8f
Merge pull request #3464 from myk002/myk_blueprint_library
update blueprint library
2023-06-11 21:20:11 -07:00
Myk Taylor f91136032f
rewrite characterization of the checklist 2023-06-11 09:31:12 -07:00
Myk Taylor 241568f624
fix syntax in docs 2023-06-11 02:41:39 -07:00
Myk Taylor 23f9764cb9
update changelog 2023-06-11 02:39:15 -07:00
Myk Taylor ede550d8df
update blueprint library text and screenshots 2023-06-11 00:55:47 -07:00
plule c55ab745bb RemoteFortressReader: Fix a possible null pointer access on image descriptions 2023-06-10 22:05:14 +02:00
Myk Taylor d7b0cc8340
remove obsolete docs 2023-06-08 12:54:58 -07:00
Myk Taylor 25530d6e7b
guide update - first draft 2023-06-08 12:40:33 -07:00
Myk Taylor 321941385e
add artifacts and masterworks presets 2023-06-07 11:57:16 -07:00
Myk Taylor 8c1e761f86
update changelog 2023-06-07 01:28:15 -07:00
Myk Taylor 50c699edb4
add barrels stockpile preset 2023-06-07 01:27:39 -07:00
Myk Taylor efc4f277d9
clear item occupancy flags for channeled tiles 2023-06-06 08:06:56 -07:00
UnFaventia e50fe7eb99
Update changelog.txt 2023-06-06 12:17:53 +10:00
UnFaventia 48d29de917
Merge branch 'develop' into Autonick-Updates 2023-06-06 12:16:28 +10:00
UnFaventia 2de77d3f57
Update changelog.txt 2023-06-06 12:11:10 +10:00
UnFaventia 0f224e60da
Update changelog.txt 2023-06-06 11:21:44 +10:00
Myk Taylor b4a804ca0c
bump to 50.08-r3 2023-06-05 17:42:35 -07:00