forked from space-wizards/space-station-14
-
Notifications
You must be signed in to change notification settings - Fork 156
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* loxotron * lottery_fix * Update Resources/Prototypes/Entities/Objects/Misc/space_cash.yml * Update Resources/Prototypes/SS220/Catalog/Cargo/cargo_fun.yml Co-authored-by: Kit0vras <[email protected]> * Update Resources/Prototypes/SS220/Entities/Objects/Misc/lottery.yml Co-authored-by: Kit0vras <[email protected]> * Update Resources/Textures/SS220/Objects/Fun/Lottery.rsi/meta.json Co-authored-by: Kit0vras <[email protected]> --------- Co-authored-by: Dexler <[email protected]> Co-authored-by: Kit0vras <[email protected]>
- Loading branch information
1 parent
a6531a8
commit af84383
Showing
9 changed files
with
151 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
40 changes: 40 additions & 0 deletions
40
Resources/Prototypes/SS220/Entities/Objects/Misc/lottery.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
- type: entity | ||
id: LotteryBase | ||
name: лотерея V&L | ||
description: Лотерея, исполняющая мечты! Стань миллионером прямо сейчас! | ||
abstract: true | ||
components: | ||
- type: Sprite | ||
sprite: SS220/Objects/Fun/Lottery.rsi | ||
state: icon | ||
- type: Item | ||
size: Tiny | ||
|
||
- type: entity | ||
id: LotteryCash | ||
parent: [LotteryBase, BaseItem] | ||
components: | ||
- type: SpawnItemsOnUse | ||
items: | ||
- id: SpaceCash1000 | ||
orGroup: CashPool | ||
- id: SpaceCash5000 | ||
prob: .11 | ||
orGroup: CashPool | ||
- id: SpaceCash10000 | ||
prob: .055 | ||
orGroup: CashPool | ||
- id: SpaceCash20000 | ||
prob: .0275 | ||
orGroup: CashPool | ||
- id: SpaceCash50000 | ||
prob: .011 | ||
orGroup: CashPool | ||
- id: SpaceCash100000 | ||
prob: .0055 | ||
orGroup: CashPool | ||
- id: SpaceCash1000000 | ||
prob: .00055 | ||
orGroup: CashPool | ||
sound: | ||
path: /Audio/Effects/unwrap.ogg |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions
14
Resources/Textures/SS220/Objects/Fun/Lottery.rsi/meta.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"version": 1, | ||
"license": "EULA/CLA with a hosting restriction, full text: https://raw.githubusercontent.com/SerbiaStrong-220/space-station-14/master/CLA.txt", | ||
"copyright": "Created by glek3197 (Discord) for SS220", | ||
"size": { | ||
"x": 32, | ||
"y": 32 | ||
}, | ||
"states": [ | ||
{ | ||
"name": "icon" | ||
} | ||
] | ||
} |