Skip to content

Commit 678f085

Browse files
committed
Various updates for v53 buildings/items
1 parent f71c156 commit 678f085

File tree

5 files changed

+11
-0
lines changed

5 files changed

+11
-0
lines changed

changelog.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ Template for new versions:
3333
## Fixes
3434

3535
## Misc Improvements
36+
- `quickfort`: support for reinforced walls and bolt throwers
37+
- `gui/design`: can now construct reinforced walls
3638

3739
## Removed
3840

gui/design.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -366,6 +366,7 @@ function Design:init()
366366

367367
local build_options = {
368368
{label='Walls', value='Cw'},
369+
{label='Reinforced Walls', value='CW'},
369370
{label='Floor', value='Cf'},
370371
{label='Fortification', value='CF'},
371372
{label='Ramps', value='Cr'},

internal/quickfort/build.lua

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -934,9 +934,13 @@ local building_db_raw = {
934934
subtype=df.siegeengine_type.Ballista},
935935
ic={label='Catapult', type=df.building_type.SiegeEngine,
936936
subtype=df.siegeengine_type.Catapult},
937+
it={label='Bolt Thrower', type=df.building_type.SiegeEngine,
938+
subtype=df.siegeengine_type.BoltThrower},
937939
-- constructions
938940
Cw={label='Wall',
939941
type=df.building_type.Construction, subtype=df.construction_type.Wall},
942+
CW={label='Reinforced Wall',
943+
type=df.building_type.Construction, subtype=df.construction_type.ReinforcedWall},
940944
Cf={label='Floor',
941945
type=df.building_type.Construction, subtype=df.construction_type.Floor},
942946
Cr={label='Ramp',

internal/quickfort/orders.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,8 @@ local function process_filter(order_specs, filter, reactions)
108108
elseif filter.item_type == df.item_type.BALLISTAPARTS then
109109
label = 'ballista parts'
110110
elseif filter.item_type == df.item_type.BAR then label = 'magnetite ore'
111+
elseif filter.item_type == df.item_type.BOLT_THROWER_PARTS then
112+
label = 'bolt thrower parts'
111113
elseif filter.item_type == df.item_type.BOX then label = 'coffer'
112114
elseif filter.item_type == df.item_type.CAGE then label = 'wooden cage'
113115
elseif filter.item_type == df.item_type.CATAPULTPARTS then

internal/view-item-info/item-descriptions.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,8 @@ descriptions = {
9595
"as logs or bars. Cutting boulders into blocks gives four times as",
9696
"many items, which are lighter for faster hauling and yield smooth",
9797
"constructions."},
98+
BOLT_THROWER_PARTS = {
99+
"Can be used to construct a Bolt Thrower."},
98100
BOX = { "A container for storing items. They are required by nobles, and will",
99101
"increase the value of rooms they are placed in. Also required to store",
100102
"hospital supplies. They can be made of stone or metal (coffers),",

0 commit comments

Comments
 (0)