From: Thinbug <101073555+Thinbug0@users.noreply.github.com> Date: Sun, 18 Jan 2026 23:01:28 +0000 (-0300) Subject: Magic 9 Ball (#42189) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=9dd31220b70e82b030c8a6af5aad500001f2b808;p=space-station-14.git Magic 9 Ball (#42189) * hoping i didnt forget anythin * thingiess i forgor * fixies * first half of fixies * other half * sprite changes * more proper outline on the sprites * making the outline a tad more visible again * making it tiny * readding the yaml for the magic 9 ball * sprite update so its less flat and more shapey --- diff --git a/Resources/Locale/en-US/predictions/magic-9-ball-answers.ftl b/Resources/Locale/en-US/predictions/magic-9-ball-answers.ftl new file mode 100644 index 0000000000..25eee1ac23 --- /dev/null +++ b/Resources/Locale/en-US/predictions/magic-9-ball-answers.ftl @@ -0,0 +1,21 @@ +# Positive +magic-9-ball-1 = Yes +magic-9-ball-2 = YES!!!! +magic-9-ball-3 = Without a doubt +magic-9-ball-4 = It is certain +magic-9-ball-5 = Outlook good +magic-9-ball-6 = Positive +magic-9-ball-7 = Absolutely + +# Negative +magic-9-ball-8 = No +magic-9-ball-9 = NOOO!!!!!! +magic-9-ball-10 = No no no no no no no +magic-9-ball-11 = Nuh uh +magic-9-ball-12 = Nah +magic-9-ball-13 = Negative +magic-9-ball-14 = Absolutely not + +# Neutral +magic-9-ball-15 = Perchance +magic-9-ball-16 = I dunno diff --git a/Resources/Prototypes/Catalog/VendingMachines/Inventories/games.yml b/Resources/Prototypes/Catalog/VendingMachines/Inventories/games.yml index 0fe813178f..5dde9bdb4e 100644 --- a/Resources/Prototypes/Catalog/VendingMachines/Inventories/games.yml +++ b/Resources/Prototypes/Catalog/VendingMachines/Inventories/games.yml @@ -16,6 +16,7 @@ PaperCNCSheet: 6 MysteryFigureBox: 2 BooksBag: 3 + Magic9Ball: 2 contrabandInventory: Basketball: 1 FoodSnackBoritos: 3 diff --git a/Resources/Prototypes/Datasets/predictions.yml b/Resources/Prototypes/Datasets/predictions.yml new file mode 100644 index 0000000000..0cef76937e --- /dev/null +++ b/Resources/Prototypes/Datasets/predictions.yml @@ -0,0 +1,5 @@ +- type: localizedDataset + id: Magic9Ball + values: + prefix: magic-9-ball- + count: 16 diff --git a/Resources/Prototypes/Entities/Markers/Spawners/Random/toy.yml b/Resources/Prototypes/Entities/Markers/Spawners/Random/toy.yml index 9ec48b32bb..d852cadfd8 100644 --- a/Resources/Prototypes/Entities/Markers/Spawners/Random/toy.yml +++ b/Resources/Prototypes/Entities/Markers/Spawners/Random/toy.yml @@ -294,6 +294,7 @@ - id: NukeDiskFake - id: DiceBag - id: SpectralLocator + - id: Magic9Ball - id: BarberScissors - id: SprayFlowerPin - id: ClothingShoesSkates diff --git a/Resources/Prototypes/Entities/Objects/Fun/orbs.yml b/Resources/Prototypes/Entities/Objects/Fun/orbs.yml index d155453186..86d645ee85 100644 --- a/Resources/Prototypes/Entities/Objects/Fun/orbs.yml +++ b/Resources/Prototypes/Entities/Objects/Fun/orbs.yml @@ -104,3 +104,73 @@ transmitFrequencyId: SurveillanceCamera - type: WiredNetworkConnection - type: SurveillanceCameraMonitor + +- type: entity + parent: BaseItem + id: Magic9Ball + name: magic 9 ball + description: An endless source of wisdom... Now with a speaker included! + components: + - type: Sprite + sprite: Objects/Fun/Balls/magic9ball.rsi + state: icon + - type: Item + size: Tiny + - type: TriggerOnActivate + - type: TriggerOnSignal + - type: UseDelay + delay: 5 + - type: UseDelayOnTrigger + - type: UseDelayTriggerCondition + - type: SpeakOnTrigger + pack: Magic9Ball + - type: Speech + speechSounds: Pai + - type: DeviceNetwork + deviceNetId: Wireless + receiveFrequencyId: BasicDevice + - type: WirelessNetworkConnection + range: 20 + - type: DeviceLinkSink + ports: + - Trigger + - type: SolutionContainerManager + solutions: + magic9ball: + maxVol: 20 + reagents: + - ReagentId: Ethanol + Quantity: 20 + - type: Damageable + damageContainer: Inorganic + - type: DamageOnLand + damage: + types: + Blunt: 10 + - type: EmitSoundOnLand + sound: + collection: GlassBreak + - type: Destructible + thresholds: + - trigger: + !type:DamageTrigger + damage: 100 + behaviors: + - !type:DoActsBehavior + acts: [ "Destruction" ] + - trigger: + !type:DamageTrigger + damage: 20 + behaviors: + - !type:PlaySoundBehavior + sound: + collection: GlassBreak + params: + volume: -4 + - !type:SpillBehavior + solution: magic9ball + - !type:DoActsBehavior + acts: [ "Destruction" ] + - type: PhysicalComposition + materialComposition: + Plastic: 50 diff --git a/Resources/Textures/Objects/Fun/Balls/magic9ball.rsi/icon.png b/Resources/Textures/Objects/Fun/Balls/magic9ball.rsi/icon.png new file mode 100644 index 0000000000..4c7d10101c Binary files /dev/null and b/Resources/Textures/Objects/Fun/Balls/magic9ball.rsi/icon.png differ diff --git a/Resources/Textures/Objects/Fun/Balls/magic9ball.rsi/inhand-left.png b/Resources/Textures/Objects/Fun/Balls/magic9ball.rsi/inhand-left.png new file mode 100644 index 0000000000..a00d0b787f Binary files /dev/null and b/Resources/Textures/Objects/Fun/Balls/magic9ball.rsi/inhand-left.png differ diff --git a/Resources/Textures/Objects/Fun/Balls/magic9ball.rsi/inhand-right.png b/Resources/Textures/Objects/Fun/Balls/magic9ball.rsi/inhand-right.png new file mode 100644 index 0000000000..db9a7f7298 Binary files /dev/null and b/Resources/Textures/Objects/Fun/Balls/magic9ball.rsi/inhand-right.png differ diff --git a/Resources/Textures/Objects/Fun/Balls/magic9ball.rsi/meta.json b/Resources/Textures/Objects/Fun/Balls/magic9ball.rsi/meta.json new file mode 100644 index 0000000000..a93732dea8 --- /dev/null +++ b/Resources/Textures/Objects/Fun/Balls/magic9ball.rsi/meta.json @@ -0,0 +1,22 @@ +{ + "version": 1, + "license": "CC0-1.0", + "copyright": "Made by Thinbug for space station 14 :3", + "size": { + "x": 32, + "y": 32 + }, + "states": [ + { + "name": "icon" + }, + { + "name": "inhand-left", + "directions": 4 + }, + { + "name": "inhand-right", + "directions": 4 + } + ] +}