Commit Graph

115 Commits (401c8f3026577701725c0aff0da022142a1aa59c)

Author SHA1 Message Date
Alexander Gavrilov 6bef167f83 Add a couple of useful scripts and fix two missing NULL checks.
- A script to unstick jobs trying to build walls from the same tile.
- A devel script for viewing the path a unit is currently following.
2014-04-21 09:24:05 +04:00
Alexander Gavrilov c27c38e4c0 Remove tired or hungry siege operators from duty when at peace.
The threshold is set at the level when they start to blink - normally
they would continue on with the job until they get a thirsty/hungry
thought, but immediately run off to eat if they lose the job (thus
refusing to load the engine after firing it). The code checks for
active sieges and whether there is a free replacement unit.
2014-04-15 21:52:39 +04:00
Alexander Gavrilov 55cea36c76 Use the new API to produce combat reports for aimed siege engine attacks.
This requires exposing the actual operator unit to lua code.
2014-04-15 19:50:23 +04:00
Alexander Gavrilov a09e132107 Support using multiple lua init scripts per save.
This should make it easier to add and remove init script code by
automated means, or install multiple mods that need such code.
2014-03-31 16:00:55 +04:00
Alexander Gavrilov 36b069e981 Merge remote-tracking branch 'warmist/dev-cmdprompt' into develop 2014-03-24 20:10:58 +04:00
Alexander Gavrilov ec14b2d1e9 Merge remote-tracking branch 'warmist/dev-modmanager' into develop 2014-03-24 20:07:02 +04:00
Alexander Gavrilov 827dd121d8 Make createitem default to the controlled unit in adventure mode. 2014-03-24 19:35:34 +04:00
Alexander Gavrilov 14afa61b8b Update NEWS. 2014-03-24 19:33:19 +04:00
Warmist 225492e39f Removed rendermax from NEWS. 2014-03-07 17:27:14 +02:00
Warmist 904808b168 Command prompt plugin with docs and readme patch. 2014-03-04 18:51:23 +02:00
Warmist 21c16b1373 Added internal lua change to NEWS 2014-03-04 18:03:07 +02:00
Warmist b030548156 Added directory listing to lua api (internal category).
added mod manager and updated readme/news
2014-03-04 18:01:44 +02:00
jj 3cd0c3aad0 exterminate: add caste specifier 2014-02-26 23:56:53 +01:00
Alexander Gavrilov 7bdb687e4a Support calling a lua function via a protobuf request.
Previously the only way to call lua code was to call scripts
and parse their output to the stream, which is cumbersome.
2014-02-10 20:09:06 +04:00
jj 7f411e1cbf Merge branch 'plant' 2014-01-27 10:45:30 +01:00
jj 883d89bb68 plants: move all commands as "plant" subcommands, update NEWS/Readme 2013-11-02 18:54:29 +01:00
jj 9dc9a3f33a digfort: add start() comment 2013-10-30 15:27:51 +01:00
expwnent 237251ce0c Merge remote-tracking branch 'jjyg/digmat' into 0.34.11-r4
Conflicts:
	Readme.rst
2013-10-24 19:39:40 -04:00
expwnent 0508767f47 News typo. 2013-10-24 19:37:08 -04:00
expwnent 329741f235 EventManager: added EQUIPMENT_CHANGE event and exposed it to lua. 2013-10-24 19:32:52 -04:00
expwnent 82c9ca3ce2 Document 3dveins as possibly unsafe. 2013-10-20 12:43:54 -04:00
expwnent 8fff573b6a Sorted news. 2013-10-20 11:20:48 -04:00
expwnent ee056f4422 Merge remote-tracking branch 'angavrilov/master' into 0.34.11-r4
Conflicts:
	NEWS
2013-10-20 11:09:40 -04:00
expwnent 9d3ee11349 Merge branch 'diggingInvaders' into 0.34.11-r4
Conflicts:
	scripts/devel/invasion-now.lua
2013-10-19 21:26:50 -04:00
expwnent fc96a19fb0 Update news. 2013-10-19 20:42:54 -04:00
expwnent 57fc0f3e89 Merge remote-tracking branch 'angavrilov/master' into 0.34.11-r4
Conflicts:
	NEWS
	library/xml
	plugins/CMakeLists.txt
	plugins/autoSyndrome.cpp
2013-10-19 20:19:29 -04:00
jj 2bcd02ce96 add digmat script 2013-10-11 19:20:59 +02:00
Alexander Gavrilov 5bcae49249 Implement generation of 3D veins that match the existing mineral counts.
Vein distributions may need some improvement.
2013-10-10 12:50:52 +04:00
Alexander Gavrilov 6852adbd91 Expose new MapCache features in probe and tiletypes. 2013-10-10 12:15:50 +04:00
Alexander Gavrilov b885123d4e Fix a crash in beehive code if bees die with yet uncollected products.
http://www.bay12games.com/dwarves/mantisbt/view.php?id=6368
2013-08-26 16:55:30 +04:00
jj 090d7defc5 add NEWS entry for arena SC_WORLD_LOADED 2013-07-07 23:53:17 +02:00
expwnent c1fef35b52 Renamed digSmart to digFlood. 2013-06-25 19:57:17 -04:00
expwnent 9f6638432f When a save is loaded/unloaded, the script at raw/onLoad.init or raw/onUnload.init is run. They use the same format as dfhack.init. 2013-06-10 00:45:46 -04:00
expwnent 5c827beae0 invasion-now: script to trigger invasions. 2013-05-31 15:54:25 -04:00
expwnent b82b3f2283 digSmart: added user interface and documentation. 2013-05-31 13:32:56 -04:00
expwnent 8982abc163 treefarm: automatically chop trees and dig obsidian 2013-05-30 22:18:08 -04:00
expwnent 9ee3da876e Documentation. 2013-05-25 20:44:07 -04:00
jj 578b178ac0 scripts/startdwarf 2013-04-30 18:38:51 +02:00
Petr Mrázek 3d7671507a Tweak NEWS - add autobutcher script 2013-04-24 17:26:43 +02:00
Petr Mrázek 2e379c4d3f Merge https://github.com/Falconne/dfhack
Conflicts:
	plugins/CMakeLists.txt
	plugins/stonesense
2013-04-24 17:24:03 +02:00
Petr Mrázek df6355a092 Merge https://github.com/jjyg/dfhack 2013-04-24 16:24:14 +02:00
Petr Mrázek 0efbc74ac2 Merge https://github.com/quietust/dfhack
Conflicts:
	NEWS
2013-04-24 16:21:59 +02:00
Petr Mrázek 3d6cbd9256 Add restrictice/liquid to readme and NEWS 2013-04-24 16:20:10 +02:00
jj 3d82629da9 rename magmasource to source, add water+drain capabilities 2013-04-16 23:25:53 +02:00
jj 2375f12fb7 add multicmd script 2013-04-12 15:23:16 +02:00
jj 3da85a2134 exterminate: add butcher mode 2013-04-03 00:57:50 +02:00
jj a7bd2e97ab add scripts/locate-ore 2013-03-31 16:12:42 +02:00
Petr Mrázek 49024809ce Update NEWS, build DFusion by default 2013-03-16 18:37:16 +01:00
jj ffa9c50486 autoSyndrome: stop spam, and disable by default 2013-03-16 13:26:59 +01:00
jj b74f08c4f8 scripts/masspit 2013-03-16 01:37:06 +01:00