Potato battery update + potato AI (#21142)
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
This commit is contained in:
@@ -556,6 +556,9 @@
|
||||
reagents:
|
||||
- ReagentId: JuicePotato
|
||||
Quantity: 10
|
||||
- type: Tag
|
||||
tags:
|
||||
- Potato
|
||||
|
||||
- type: entity
|
||||
name: tomato
|
||||
|
||||
@@ -80,6 +80,7 @@
|
||||
- state: pai-base
|
||||
- state: syndicate-pai-off-overlay
|
||||
shader: unshaded
|
||||
map: ["screen"]
|
||||
- type: ToggleableGhostRole
|
||||
roleName: pai-system-role-name-syndicate
|
||||
roleDescription: pai-system-role-description-syndicate
|
||||
@@ -98,6 +99,34 @@
|
||||
Searching: { state: syndicate-pai-searching-overlay }
|
||||
On: { state: syndicate-pai-on-overlay }
|
||||
|
||||
- type: entity
|
||||
parent: PersonalAI
|
||||
id: PotatoAI
|
||||
name: potato artificial intelligence
|
||||
description: It's a potato. You forced it to be sentient, you monster.
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: Objects/Fun/pai.rsi
|
||||
layers:
|
||||
- state: potato-base
|
||||
- state: potato-off-overlay
|
||||
shader: unshaded
|
||||
map: ["screen"]
|
||||
- type: ToggleableGhostRole
|
||||
roleName: pai-system-role-name-potato
|
||||
roleDescription: pai-system-role-description-potato
|
||||
- type: Appearance
|
||||
- type: GenericVisualizer
|
||||
visuals:
|
||||
enum.ToggleableGhostRoleVisuals.Status:
|
||||
screen:
|
||||
Off: { state: potato-off-overlay }
|
||||
Searching: { state: potato-searching-overlay }
|
||||
On: { state: potato-on-overlay }
|
||||
- type: Construction
|
||||
graph: PotatoAI
|
||||
node: potatoai
|
||||
|
||||
- type: entity
|
||||
id: ActionPAIPlayMidi
|
||||
name: Play MIDI
|
||||
|
||||
17
Resources/Prototypes/Entities/Objects/Misc/potatoai_chip.yml
Normal file
17
Resources/Prototypes/Entities/Objects/Misc/potatoai_chip.yml
Normal file
@@ -0,0 +1,17 @@
|
||||
- type: entity
|
||||
id: PotatoAIChip
|
||||
name: supercompact AI chip
|
||||
parent: BaseItem
|
||||
description: This high-tech AI chip requires a voltage of exactly 1.1V to function correctly.
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: Objects/Misc/potatoai_chip.rsi
|
||||
state: icon
|
||||
- type: Item
|
||||
size: 3
|
||||
- type: Tag
|
||||
tags:
|
||||
- SmallAIChip
|
||||
- type: Construction
|
||||
graph: PotatoAIChip
|
||||
node: potatoaichip
|
||||
@@ -42,8 +42,15 @@
|
||||
layers:
|
||||
- state: potato
|
||||
- type: Battery
|
||||
maxCharge: 200
|
||||
startingCharge: 200
|
||||
maxCharge: 70
|
||||
startingCharge: 70
|
||||
- type: Tag
|
||||
tags:
|
||||
- DroneUsable
|
||||
- PotatoBattery
|
||||
- type: Construction
|
||||
graph: PowerCellPotato
|
||||
node: potatobattery
|
||||
|
||||
- type: entity
|
||||
name: small-capacity power cell
|
||||
|
||||
@@ -116,4 +116,4 @@
|
||||
base:
|
||||
Off: { state: posibrain }
|
||||
Searching: { state: posibrain-searching }
|
||||
On: { state: posibrain-occupied }
|
||||
On: { state: posibrain-occupied }
|
||||
@@ -85,6 +85,9 @@
|
||||
whitelist:
|
||||
components:
|
||||
- PowerCell
|
||||
blacklist:
|
||||
tags:
|
||||
- PotatoBattery
|
||||
|
||||
- type: entity
|
||||
parent: BaseItemRecharger
|
||||
|
||||
@@ -0,0 +1,74 @@
|
||||
- type: constructionGraph
|
||||
id: PowerCellPotato
|
||||
start: start
|
||||
graph:
|
||||
- node: start
|
||||
edges:
|
||||
- to: potatobattery
|
||||
steps:
|
||||
- tag: Potato
|
||||
name: a potato
|
||||
icon:
|
||||
sprite: Objects/Specific/Hydroponics/potato.rsi
|
||||
state: produce
|
||||
doAfter: 1
|
||||
- material: MetalRod
|
||||
amount: 2
|
||||
doAfter: 1
|
||||
- material: Cable
|
||||
amount: 1
|
||||
doAfter: 1
|
||||
- node: potatobattery
|
||||
entity: PowerCellPotato
|
||||
|
||||
- type: constructionGraph
|
||||
id: PotatoAI
|
||||
start: start
|
||||
graph:
|
||||
- node: start
|
||||
edges:
|
||||
- to: potatoai
|
||||
steps:
|
||||
- tag: PotatoBattery
|
||||
name: a potato battery
|
||||
icon:
|
||||
sprite: Objects/Power/power_cells.rsi
|
||||
state: potato
|
||||
doAfter: 1
|
||||
- tag: SmallAIChip
|
||||
name: a super-compact AI chip
|
||||
icon:
|
||||
sprite: Objects/Misc/potatoai_chip.rsi
|
||||
state: icon
|
||||
- node: potatoai
|
||||
entity: PotatoAI
|
||||
|
||||
- type: constructionGraph
|
||||
id: PotatoAIChip
|
||||
start: start
|
||||
graph:
|
||||
- node: start
|
||||
edges:
|
||||
- to: potatoaichip
|
||||
steps:
|
||||
- material: Steel
|
||||
amount: 1
|
||||
doAfter: 1
|
||||
- material: Glass
|
||||
amount: 1
|
||||
doAfter: 1
|
||||
- material: Cable
|
||||
amount: 2
|
||||
doAfter: 1
|
||||
- tag: CapacitorStockPart
|
||||
name: capacitor
|
||||
icon:
|
||||
sprite: Objects/Misc/stock_parts.rsi
|
||||
state: capacitor
|
||||
- tag: CapacitorStockPart
|
||||
name: capacitor
|
||||
icon:
|
||||
sprite: Objects/Misc/stock_parts.rsi
|
||||
state: capacitor
|
||||
- node: potatoaichip
|
||||
entity: PotatoAIChip
|
||||
32
Resources/Prototypes/Recipes/Crafting/potato.yml
Normal file
32
Resources/Prototypes/Recipes/Crafting/potato.yml
Normal file
@@ -0,0 +1,32 @@
|
||||
- type: construction
|
||||
name: potato battery
|
||||
id: PowerCellPotato
|
||||
graph: PowerCellPotato
|
||||
startNode: start
|
||||
targetNode: potatobattery
|
||||
category: construction-category-misc
|
||||
description: A truly ingenious source of power.
|
||||
icon: { sprite: Objects/Power/power_cells.rsi, state: potato }
|
||||
objectType: Item
|
||||
|
||||
- type: construction
|
||||
name: potato artificial intelligence
|
||||
id: PotatoAI
|
||||
graph: PotatoAI
|
||||
startNode: start
|
||||
targetNode: potatoai
|
||||
category: construction-category-misc
|
||||
description: The potato happens to be the perfect power source for this chip.
|
||||
icon: { sprite: Objects/Fun/pai.rsi, state: icon-potato-off }
|
||||
objectType: Item
|
||||
|
||||
- type: construction
|
||||
name: supercompact AI chip
|
||||
id: PotatoAIChip
|
||||
graph: PotatoAIChip
|
||||
startNode: start
|
||||
targetNode: potatoaichip
|
||||
category: construction-category-misc
|
||||
description: A masterfully(?) crafted AI chip, requiring a similarly improvised power source.
|
||||
icon: { sprite: Objects/Misc/potatoai_chip.rsi, state: icon }
|
||||
objectType: Item
|
||||
@@ -839,6 +839,12 @@
|
||||
- type: Tag
|
||||
id: PlushieSharkGrey
|
||||
|
||||
- type: Tag
|
||||
id: Potato
|
||||
|
||||
- type: Tag
|
||||
id: PotatoBattery
|
||||
|
||||
- type: Tag
|
||||
id: PowerCellSmall
|
||||
|
||||
@@ -924,6 +930,9 @@
|
||||
- type: Tag
|
||||
id: SkeletonMotorcycleKeys
|
||||
|
||||
- type: Tag
|
||||
id: SmallAIChip
|
||||
|
||||
- type: Tag
|
||||
id: SmallMech
|
||||
|
||||
|
||||
Reference in New Issue
Block a user