Tippy, the helpful hint clown! (#26767)
* Tippy is BACK * Clean up clippy from aprils fools * Changed names from clippy to tippy, added localization, removed local_clippy command, made it easier to target a specific player * Rename clippy.yml to tippy.yml --------- Co-authored-by: Kara <lunarautomaton6@gmail.com>
This commit is contained in:
12
Resources/Locale/en-US/commands/tippy-command.ftl
Normal file
12
Resources/Locale/en-US/commands/tippy-command.ftl
Normal file
@@ -0,0 +1,12 @@
|
||||
cmd-tippy-desc = Broadcast a message as Tippy the clown.
|
||||
cmd-tippy-help = tippy <user | all> <message> [entity prototype] [speak time] [slide time] [waddle interval]
|
||||
cmd-tippy-auto-1 = <user | all>
|
||||
cmd-tippy-auto-2 = message
|
||||
cmd-tippy-auto-3 = entity prototype
|
||||
cmd-tippy-auto-4 = speak time, in seconds
|
||||
cmd-tippy-auto-5 = slide time, in seconds
|
||||
cmd-tippy-auto-6 = waddle interval, in seconds
|
||||
cmd-tippy-error-no-user = User not found.
|
||||
cmd-tippy-error-no-prototype = Prototype not found: {$proto}
|
||||
|
||||
cmd-tip-desc = Spawn a random game tip.
|
||||
29
Resources/Prototypes/Entities/Debugging/tippy.yml
Normal file
29
Resources/Prototypes/Entities/Debugging/tippy.yml
Normal file
@@ -0,0 +1,29 @@
|
||||
- type: entity
|
||||
id: Tippy
|
||||
components:
|
||||
- type: Sprite
|
||||
netsync: false
|
||||
noRot: false
|
||||
scale: 4,4
|
||||
layers:
|
||||
- sprite: Tips/tippy.rsi
|
||||
state: left
|
||||
map: [ "revealing" ]
|
||||
- sprite: Tips/tippy.rsi
|
||||
state: right
|
||||
map: [ "hiding" ]
|
||||
- sprite: Tips/tippy.rsi
|
||||
state: down
|
||||
visible: false
|
||||
map: [ "speaking" ]
|
||||
# footstep sounds wile waddling onto the screen.
|
||||
- type: FootstepModifier
|
||||
footstepSoundCollection:
|
||||
collection: FootstepClown
|
||||
# visuals for the speech bubble.
|
||||
# only supports background image.
|
||||
- type: PaperVisuals
|
||||
backgroundImagePath: "/Textures/Interface/Paper/paper_background_default.svg.96dpi.png"
|
||||
backgroundPatchMargin: 16.0, 16.0, 16.0, 16.0
|
||||
backgroundModulate: "#ffffcc"
|
||||
fontAccentColor: "#000000"
|
||||
BIN
Resources/Textures/Tips/tippy.rsi/down.png
Normal file
BIN
Resources/Textures/Tips/tippy.rsi/down.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5.2 KiB |
BIN
Resources/Textures/Tips/tippy.rsi/left.png
Normal file
BIN
Resources/Textures/Tips/tippy.rsi/left.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.9 KiB |
20
Resources/Textures/Tips/tippy.rsi/meta.json
Normal file
20
Resources/Textures/Tips/tippy.rsi/meta.json
Normal file
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"version": 1,
|
||||
"license": "CC-BY-SA-3.0",
|
||||
"copyright": "",
|
||||
"size": {
|
||||
"x": 32,
|
||||
"y": 32
|
||||
},
|
||||
"states": [
|
||||
{
|
||||
"name": "down"
|
||||
},
|
||||
{
|
||||
"name": "left"
|
||||
},
|
||||
{
|
||||
"name": "right"
|
||||
}
|
||||
]
|
||||
}
|
||||
BIN
Resources/Textures/Tips/tippy.rsi/right.png
Normal file
BIN
Resources/Textures/Tips/tippy.rsi/right.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.2 KiB |
@@ -96,6 +96,8 @@
|
||||
- tp
|
||||
- tpto
|
||||
- respawn
|
||||
- tippy
|
||||
- tip
|
||||
|
||||
- Flags: SERVER
|
||||
Commands:
|
||||
|
||||
Reference in New Issue
Block a user