* -Added Crayons + CrayonBox
-Can set any crayon state and color
-Added CrayonDecals

* Allows to cycle through decals (not the final thing)

* ItemStatus

* -UI (WIP)
-Selection thing works
-Changed some shitty state names

* -Icons
-Changed decal name

* Pure Texture Grid

* Charges

* -Reach check
-Toggle interface on use

* Can't draw on windows anymore

* UI now shows selected decal and color

* -UseSound
-Nullable

* Remove unused imports

* -Rotation
-Made decal abstract

* Remove some duplicate images

* Space Cleaner cleans

* Loc Title

Co-authored-by: Pieter-Jan Briers <pieterjan.briers@gmail.com>

* Review adressed

Co-authored-by: Pieter-Jan Briers <pieterjan.briers@gmail.com>
This commit is contained in:
Exp
2020-10-13 13:40:05 +02:00
committed by GitHub
parent cb29db60d1
commit 47ba7fc690
187 changed files with 2393 additions and 1 deletions

View File

@@ -0,0 +1,134 @@
- type: crayonDecal
spritePath: "Constructible/Misc/crayondecals.rsi"
decals:
- 0
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- Blasto
- Clandestine
- Cyber
- Diablo
- Donk
- Gene
- Gib
- Max
- Newton
- North
- Omni
- Osiron
- Prima
- Psyke
- Sirius
- Tunnel
- Waffle
- a
- ampersand
- amyjon
- antilizard
- arrow
- b
- beepsky
- biohazard
- blueprint
- body
- bottle
- brush
- c
- carp
- cat
- chevron
- clawprint
- clown
- comma
- corgi
- credit
- cyka
- d
- danger
- disk
- dot
- dwarf
- e
- electricdanger
- end
- engie
- equals
- evac
- exclamationmark
- f
- face
- fireaxe
- firedanger
- food
- footprint
- g
- ghost
- guy
- h
- heart
- i
- j
- k
- l
- largebrush
- like
- line
- m
- matt
- med
- minus
- n
- nay
- o
- p
- pawprint
- peace
- percent
- plus
- pound
- prolizard
- q
- questionmark
- r
- radiation
- revolution
- rune1
- rune2
- rune3
- rune4
- rune5
- rune6
- s
- safe
- scroll
- shop
- shortline
- shotgun
- skull
- slash
- smallbrush
- snake
- space
- splatter
- star
- stickman
- t
- taser
- thinline
- toilet
- toolbox
- trade
- u
- uboa
- v
- w
- x
- y
- z

View File

@@ -0,0 +1,16 @@
- type: entity
abstract: true
id: CrayonDecal
name: crayon drawing
description: "Graffiti. Damn kids."
components:
- type: Clickable
- type: InteractionOutline
- type: Collidable
- type: Sprite
sprite: Constructible/Misc/crayondecals.rsi
state: corgi
- type: Cleanable
- type: Appearance
visuals:
- type: CrayonDecalVisualizer

View File

@@ -0,0 +1,111 @@
- type: entity
parent: BaseItem
id: Crayon
name: crayon
abstract: true
description: "A colourful crayon. Looks tasty. Mmmm..."
components:
- type: UserInterface
interfaces:
- key: enum.CrayonUiKey.Key
type: CrayonBoundUserInterface
- type: entity
parent: Crayon
id: CrayonWhite
suffix: White
components:
- type: Sprite
sprite: Objects/Misc/crayons.rsi
state: crayonwhite
- type: Crayon
color: white
capacity: 30
- type: entity
parent: Crayon
id: CrayonRed
suffix: Red
components:
- type: Sprite
sprite: Objects/Misc/crayons.rsi
state: crayonred
- type: Crayon
color: red
capacity: 30
- type: entity
parent: Crayon
id: CrayonGreen
suffix: Green
components:
- type: Sprite
sprite: Objects/Misc/crayons.rsi
state: crayongreen
- type: Crayon
color: green
capacity: 30
- type: entity
parent: Crayon
id: CrayonPurple
suffix: Purple
components:
- type: Sprite
sprite: Objects/Misc/crayons.rsi
state: crayonpurple
- type: Crayon
color: purple
capacity: 30
- type: entity
parent: Crayon
id: CrayonOrange
suffix: Orange
components:
- type: Sprite
sprite: Objects/Misc/crayons.rsi
state: crayonorange
- type: Crayon
color: orange
capacity: 30
- type: entity
parent: Crayon
id: CrayonYellow
suffix: Yellow
components:
- type: Sprite
sprite: Objects/Misc/crayons.rsi
state: crayonyellow
- type: Crayon
color: yellow
capacity: 30
- type: entity
id: CrayonBox
parent: BaseItem
name: crayon box
components:
- type: Sprite
sprite: Objects/Misc/crayons.rsi
state: crayonbox
- type: Storage
capacity: 30
- type: Item
size: 9999
- type: entity
id: CrayonBoxFilled
name: crayon box
parent: CrayonBox
suffix: Filled
components:
- type: StorageFill
contents:
- name: CrayonGreen
- name: CrayonOrange
- name: CrayonPurple
- name: CrayonRed
- name: CrayonWhite
- name: CrayonYellow

View File

@@ -127,7 +127,8 @@
color: "#c8ff69"
boilingPoint: 147.0 # Made this up, loosely based on bleach
meltingPoint: -11.0
# You should probably add a tile reaction here that tries to clean the tile.
tileReactions:
- !type:CleanTileReaction {}
- type: reagent
id: chem.SpaceLube