Skip to content

Commit

Permalink
box can open
Browse files Browse the repository at this point in the history
and more
  • Loading branch information
musicmanvr committed Mar 26, 2024
1 parent a432fda commit ab98a1b
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 3 deletions.
7 changes: 7 additions & 0 deletions Resources/Prototypes/Catalog/Fills/Boxes/general.yml
Original file line number Diff line number Diff line change
Expand Up @@ -502,5 +502,12 @@
- id: RoxieRock
amount: 1
prob: 0.3
- type: GenericVisualizer
visuals:
enum.StorageVisuals.Open:
base:
True: { state: icon-open }
False: { state: icon }
- type: Appearance


12 changes: 11 additions & 1 deletion Resources/Prototypes/Entities/Objects/Fun/toys.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1522,7 +1522,7 @@
prob: 1
makeSentient: true
allowSpeech: true
allowMovement: false
allowMovement: true
name: ghost-role-information-petrock-name
description: ghost-role-information-petrock-description
- type: GhostTakeoverAvailable
Expand All @@ -1531,12 +1531,20 @@
sprite: Objects/Fun/pet_rock.rsi
slots:
- HEAD
- type: MovementSpeedModifier
baseWalkSpeed: 0.02
baseSprintSpeed: 0.04
- type: NoRotateOnInteract
- type: NoRotateOnMove
- type: StaminaDamageOnCollide
damage: 5
- type: DamageOtherOnHit
damage:
types:
Blunt: 3
- type: Tag
tags:
- CannotSuicide

- type: entity
parent: BasePetRock
Expand Down Expand Up @@ -1564,6 +1572,8 @@
- type: Sprite
sprite: Objects/Fun/pet_rock.rsi
state: icon
- type: NameIdentifier
group: GenericNumber
- type: PhysicalComposition
materialComposition:
Steel: 10
Expand Down
4 changes: 2 additions & 2 deletions Resources/Textures/Objects/Fun/pet_rock_box.rsi/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@
"directions": 4
},
{
"name": "icon"
"name": "icon"
},
{
"name": "icon-open"
"name": "icon-open"
}
]
}
Expand Down

0 comments on commit ab98a1b

Please sign in to comment.