Skip to content

Commit 970f55e

Browse files
authored
Arachnid web immunity + crafting (#4327)
1 parent fcc6d83 commit 970f55e

File tree

4 files changed

+32
-2
lines changed

4 files changed

+32
-2
lines changed

Resources/Prototypes/Entities/Mobs/Species/arachnid.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@
118118
templateId: arachnid
119119
speciesId: arachnid
120120
- type: Carriable # Frontier: Carrying system from nyanotrasen.
121-
121+
- type: IgnoreSpiderWeb # Frontier: Makes spider webs Arachnid-craftable.
122122

123123
- type: entity
124124
parent: BaseSpeciesDummy

Resources/Prototypes/Entities/Structures/spider_web.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,9 @@
8888
ignoreWhitelist:
8989
components:
9090
- IgnoreSpiderWeb
91+
- type: Construction # Frontier: Makes spider webs Arachnid-craftable.
92+
graph: NFWebStructures
93+
node: web
9194

9295
- type: entity
9396
id: SpiderWebClown

Resources/Prototypes/_NF/Recipes/Construction/Graphs/web.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,15 @@
1515
amount: 6
1616
doAfter: 3
1717

18+
- to: web
19+
completed:
20+
- !type:SnapToGrid
21+
southRotation: true
22+
steps:
23+
- material: WebSilk
24+
amount: 1
25+
doAfter: 6
26+
1827
# Deconstruction is down here
1928
- node: nest
2029
entity: WebNest
@@ -27,3 +36,6 @@
2736
steps:
2837
- tool: Cutting
2938
doAfter: 2
39+
40+
- node: web
41+
entity: SpiderWeb

Resources/Prototypes/_NF/Recipes/Construction/web.yml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
- type: construction
32
id: WebNest
43
graph: NFWebStructures
@@ -14,3 +13,19 @@
1413
- SpiderCraft
1514
conditions:
1615
- !type:TileNotBlocked
16+
17+
- type: construction
18+
id: SpiderWeb
19+
graph: NFWebStructures
20+
startNode: start
21+
targetNode: web
22+
category: construction-category-furniture
23+
objectType: Structure
24+
placementMode: SnapgridCenter
25+
canRotate: false
26+
canBuildInImpassable: false
27+
entityWhitelist:
28+
tags:
29+
- SpiderCraft
30+
conditions:
31+
- !type:TileNotBlocked

0 commit comments

Comments
 (0)