Commit Graph

3624 Commits (140f78c8a0b91e103bd17edad39274741ccf75a9)
 

Author SHA1 Message Date
jj e09b98216f ruby: fix vector[length+50] = 0 segfault 2012-09-05 20:39:13 +02:00
Alexander Gavrilov 8d876cc7d9 Support renaming some buildings, and arbitrary units, via gui script. 2012-09-05 21:27:42 +04:00
jj afbace8af6 ruby: alloc_building(:Furnace, :Smelter) 2012-09-05 19:18:21 +02:00
Alexander Gavrilov 57086ac56e Add stock MessageBox and InputBox dialog screens for lua scripts. 2012-09-05 19:45:45 +04:00
Alexander Gavrilov 27f169e298 Provide a partial application utility function to lua.
Implemented in C++ for efficiency.
2012-09-05 17:37:36 +04:00
Alexander Gavrilov 9c6fcee9a9 Add steam engine documentation, and use barrel quality in efficiency calc. 2012-09-05 11:23:00 +04:00
Kelly Martin 96fec768c7 Merge remote-tracking branch 'angavrilov/master' 2012-09-04 12:05:05 -05:00
Alexander Gavrilov aa449a2180 Add a tweak to work around the endless temperature update bug.
This obsoletes fix/stable-temp.lua, which only fixes items once.
2012-09-03 21:11:35 +04:00
Alexander Gavrilov 1618ccf5bb Fix steam-engine build on msvc, and add a script for listing mem ranges. 2012-09-03 10:28:17 +04:00
Alexander Gavrilov 2249cb14fa Require level 3 both for water & magma, and indicate level 5 by brightness. 2012-09-02 18:57:10 +04:00
Alexander Gavrilov 3b08ee44d1 Vary the internal power consumption of the engine depending on quality. 2012-09-02 17:32:44 +04:00
Alexander Gavrilov 3b8e3d1459 Fix wrong assumptions in lua wrapper for BitArray. 2012-09-02 17:18:01 +04:00
Alexander Gavrilov 67630776ee Tweak steam engine raws. 2012-09-02 17:17:18 +04:00
Alexander Gavrilov 9c3843c1d4 Use new API in steam engine; always explode if destroyed with steam inside. 2012-09-02 14:59:13 +04:00
Alexander Gavrilov 3713c5ea9e Add some APIs required by steam engine to the core. 2012-09-02 14:10:58 +04:00
jj a4c028b3b7 ruby: buildings tweaks 2012-09-02 01:38:58 +02:00
warmist febfc9aa5b Fixed bug with gui/mechanism
Fixes script not allowing to ran on e.g. levers (focus string: dwarfmode/QueryBuilding/Some/Lever/Empty )
2012-09-01 23:33:49 +03:00
Alexander Gavrilov 8536785d1d Boilers made out of unsuitable materials should explode! 2012-09-01 20:46:34 +04:00
Alexander Gavrilov bae85ac77d Make the steam engine consume liquids from Z level below. 2012-09-01 17:52:51 +04:00
Alexander Gavrilov 74501d3197 Try preventing "boiling water" from freezing, and dump steam on destroy. 2012-09-01 14:42:19 +04:00
Alexander Gavrilov f158e1894d Further work on steam engine.
- Display water inside as 'boiling' by hooking item_liquid_miscst.
- Store current power in flags to avoid mess if items disappear etc.
- Suspend/unsuspend stoke jobs depending on steam level.
- Implement intelligent steam use rate and boiler capacity cap.
- Modify appearance of special tiles to display status.
2012-09-01 11:29:05 +04:00
Alexander Gavrilov e0097d8d43 Fix access to unnamed bits in bitfields, and allow hook.apply(false) 2012-09-01 11:25:24 +04:00
jj acdf0ffb42 ruby: fix create building map occupancy 2012-09-01 03:35:47 +02:00
Quietust c68afdaad2 Display command key helper for Manipulator on Unit List, various tweaks 2012-08-31 20:35:35 -05:00
jj dcc9498dbc ruby: tweak apis 2012-09-01 03:22:48 +02:00
Alexander Gavrilov ece0833c93 Prototype steam engine workshop :)
Very broken and incomplete still.
2012-09-01 00:22:55 +04:00
Alexander Gavrilov 0f1be28637 Follow xml changes. 2012-09-01 00:17:08 +04:00
jj ce608e4f6a ruby: yield announcements for further customization 2012-08-31 19:16:13 +02:00
jj 54780cac3f ruby: allow vmethod call with 6 args, use direct fptr 2012-08-31 15:51:22 +02:00
Alexander Gavrilov e6b2cb73af Add a tweak for pressure plate creature weight limit rendering.
Print them as readable "???K", instead of the normal truncated numbers.
2012-08-30 20:48:06 +04:00
Alexander Gavrilov 750eefe48a Follow unconditional JMP chains in MSVC vmethod ptr detection. 2012-08-30 19:28:53 +04:00
Quietust c414aafc59 Add "Toggle Group" key 2012-08-30 10:03:12 -05:00
Alexander Gavrilov 1dee51abb0 Use generic DOCTOR tile for wound dresser labor. 2012-08-30 19:01:43 +04:00
Quietust 7676f07b06 Display creature graphics tiles beneath the column headers 2012-08-30 09:46:09 -05:00
Kelly Martin a8158cb19a Merge remote-tracking branch 'q/master' 2012-08-30 09:25:26 -05:00
Kelly Martin 604cf80832 Repurpose the nestboxes plugin as a watcher that automatically forbids fertile eggs. 2012-08-30 09:23:11 -05:00
Alexander Gavrilov cb125f3d89 Add a script to fix population cap problems. 2012-08-29 19:20:38 +04:00
Alexander Gavrilov 8a617edb10 Support "ls -a" to list scripts in subdirs. 2012-08-29 19:03:53 +04:00
Quietust 4e169558f5 Tweak column labels a bit 2012-08-28 15:52:26 -05:00
Quietust b2587c1e6d Fix skill sort 2012-08-28 15:33:22 -05:00
Alexander Gavrilov 834d7fa1fa Tweak prospector: try using the biome elevation for soil depth.
Until a better idea presents itself (or maybe it is the right way).
Soil depth computation affects which soil layers are reported, and
Z level alignment of the layer stack.
2012-08-28 11:52:54 +04:00
expwnent d69a7c63e3 Tabs to spaces. 2012-08-27 16:05:23 -04:00
expwnent 1a5f05768f Made it not run every tick. 2012-08-27 15:06:41 -04:00
Quietust c587ea2c74 Add new tweak command to make Train orders no longer count as patrol duty 2012-08-27 14:06:10 -05:00
Alexander Gavrilov f73cebff68 Account for caves and magma sea in pre-embark prospector. 2012-08-27 23:03:17 +04:00
Alexander Gavrilov f1915915b4 Follow change in xml again. 2012-08-27 23:03:02 +04:00
expwnent e12e7ddd40 Fixed some memory leaks. 2012-08-27 14:42:00 -04:00
Quietust 5ad9b82ace Merge branch 'master' of git://github.com/angavrilov/dfhack 2012-08-27 09:17:27 -05:00
Quietust faf3bdf2b7 Adjust grid display - labors without skills use different tiles, and skills without labors have a red background 2012-08-27 09:04:32 -05:00
Alexander Gavrilov 5fed060d7d Follow field rename in xml. 2012-08-27 16:01:11 +04:00