Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…on-14 into master-ru
  • Loading branch information
MilenVolf committed Aug 16, 2023
2 parents 131f562 + b386856 commit 076b314
Show file tree
Hide file tree
Showing 17 changed files with 101 additions and 75 deletions.
6 changes: 3 additions & 3 deletions Content.Client/RoundEnd/RoundEndSummaryWindow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public RoundEndSummaryWindow(string gm, string roundEnd, TimeSpan roundTimeSpan,
RoundId = roundId;
var roundEndTabs = new TabContainer();
roundEndTabs.AddChild(MakeRoundEndSummaryTab(gm, roundEnd, roundTimeSpan, roundId));
roundEndTabs.AddChild(MakePlayerManifestoTab(info));
roundEndTabs.AddChild(MakePlayerManifestTab(info));

Contents.AddChild(roundEndTabs);

Expand Down Expand Up @@ -90,12 +90,12 @@ private BoxContainer MakeRoundEndSummaryTab(string gamemode, string roundEnd, Ti
return roundEndSummaryTab;
}

private BoxContainer MakePlayerManifestoTab(RoundEndMessageEvent.RoundEndPlayerInfo[] playersInfo)
private BoxContainer MakePlayerManifestTab(RoundEndMessageEvent.RoundEndPlayerInfo[] playersInfo)
{
var playerManifestTab = new BoxContainer
{
Orientation = LayoutOrientation.Vertical,
Name = Loc.GetString("round-end-summary-window-player-manifesto-tab-title")
Name = Loc.GetString("round-end-summary-window-player-manifest-tab-title")
};

var playerInfoContainerScrollbox = new ScrollContainer
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ public bool CanFit(EntityUid toInsert, EntityUid container, EntityWhitelist? whi

var targetIsMob = HasComp<BodyComponent>(toInsert);
var storageIsItem = HasComp<ItemComponent>(container);
var allowedToEat = whitelist?.IsValid(toInsert) ?? storageIsItem;
var allowedToEat = whitelist?.IsValid(toInsert) ?? HasComp<ItemComponent>(toInsert);

// BEFORE REPLACING THIS WITH, I.E. A PROPERTY:
// Make absolutely 100% sure you have worked out how to stop people ending up in backpacks.
Expand Down
45 changes: 22 additions & 23 deletions Resources/Changelog/Changelog.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,4 @@
Entries:
- author: metalgearsloth
changes:
- {message: Snow planets now have minerals and rocks on them., type: Add}
id: 4112
time: '2023-06-28T11:32:02.0000000+00:00'
- author: metalgearsloth
changes:
- {message: Added walls to lava planets., type: Add}
id: 4113
time: '2023-06-28T12:57:40.0000000+00:00'
- author: crazybrain
changes:
- {message: The lsobjectives command now has autocompletion., type: Tweak}
id: 4114
time: '2023-06-28T13:47:46.0000000+00:00'
- author: deltanedas
changes:
- {message: 'Hazardous and Extreme expeditions can have more dangerous modifiers,
of which temperature has been added.', type: Tweak}
- {message: Hazardous and Extreme expeditions give 4 and 5 rewards respectively.,
type: Tweak}
id: 4115
time: '2023-06-28T14:01:27.0000000+00:00'
- author: Lank
changes:
- {message: 'Added Lead, a tasteless, incredibly powerful but slow-acting poison
Expand Down Expand Up @@ -3030,3 +3007,25 @@ Entries:
range., type: Fix}
id: 4611
time: '2023-08-16T08:03:42.0000000+00:00'
- author: EmoGarbage404
changes:
- {message: Lockers and crates work again., type: Fix}
id: 4612
time: '2023-08-16T13:08:53.0000000+00:00'
- author: Ilya246
changes:
- {message: 'Taxibots, cleanbots, and similar now have binary radio.', type: Add}
id: 4613
time: '2023-08-16T13:18:57.0000000+00:00'
- author: DogZeroX
changes:
- {message: 'Reworked the loot table from salvage spawners, the stuff you can find
is more varied and valuable overall.', type: Add}
id: 4614
time: '2023-08-16T19:11:02.0000000+00:00'
- author: DogZeroX
changes:
- {message: Higher rating stock parts are now cheaper to make. Print a bunch of
them and upgrade stuff!, type: Tweak}
id: 4615
time: '2023-08-16T22:12:09.0000000+00:00'
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
round-end-summary-window-title = Round End Summary
round-end-summary-window-round-end-summary-tab-title = Round Information
round-end-summary-window-player-manifesto-tab-title = Player Manifesto
round-end-summary-window-player-manifest-tab-title = Player Manifest
round-end-summary-window-round-id-label = Round [color=white]#{$roundId}[/color] has ended.
round-end-summary-window-gamemode-name-label = The game mode was [color=white]{$gamemode}[/color].
round-end-summary-window-duration-label = It lasted for [color=yellow]{$hours} hours, {$minutes} minutes, and {$seconds} seconds.
Expand Down
41 changes: 7 additions & 34 deletions Resources/Prototypes/Catalog/Fills/Crates/salvage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,19 +31,21 @@
- type: StorageFill
contents:
# Normal (10%)
- id: ToolboxEmergencyFilled
- id: OxygenTankFilled
prob: 0.1
- id: ClothingMaskBreath
- id: SheetPlasma
prob: 0.1
- id: OxygenTankFilled
- id: IngotGold
prob: 0.1
- id: IngotSilver
prob: 0.1
- id: SheetPlasma
prob: 0.1
- id: WelderIndustrialAdvanced
prob: 0.1
- id: ResearchDisk
prob: 0.1
- id: ClothingBeltStorageWaistbag
- id: SheetUranium
prob: 0.1
# - Service
- id: CrayonBox
Expand All @@ -54,22 +56,15 @@
- id: BoxSyringe
prob: 0.1
- id: BoxBeaker
prob: 0.1
# - Scaf
- id: ClothingHeadHelmetScaf
prob: 0.1
- id: ClothingOuterArmorScaf
prob: 0.1
# - Heh
- id: SalvageHumanCorpse
prob: 0.1
- id: LidSalami
prob: 0.1
# Interesting (1%)
# - Ammo
- id: MagazineBoxMagnum
prob: 0.01
- id: ResearchDisk5000
- id: ResearchDisk10000
prob: 0.01
# Just no (0.1%)
# - Working guns
Expand All @@ -82,30 +77,8 @@
# - Skub
- id: Skub
prob: 0.001
- id: ResearchDisk10000
prob: 0.001
- id: ClothingHeadHatCatEars
prob: 0.01
# - Pins
- id: ClothingNeckLGBTPin
prob: 0.025
orGroup: LGBTQIAPlusPins
- id: ClothingNeckAromanticPin
orGroup: LGBTQIAPlusPins
- id: ClothingNeckAsexualPin
orGroup: LGBTQIAPlusPins
- id: ClothingNeckBisexualPin
orGroup: LGBTQIAPlusPins
- id: ClothingNeckIntersexPin
orGroup: LGBTQIAPlusPins
- id: ClothingNeckLesbianPin
orGroup: LGBTQIAPlusPins
- id: ClothingNeckNonBinaryPin
orGroup: LGBTQIAPlusPins
- id: ClothingNeckPansexualPin
orGroup: LGBTQIAPlusPins
- id: ClothingNeckTransPin
orGroup: LGBTQIAPlusPins
# TRAITOR EQUIPMENT (0.01%)
- id: Telecrystal10
prob: 0.0001
Expand Down
2 changes: 2 additions & 0 deletions Resources/Prototypes/Catalog/Fills/Lockers/misc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,8 @@
prob: 0.2
- id: ClothingHandsGlovesColorYellow
prob: 0.05
- id: ClothingHandsGlovesFingerlessInsulated
prob: 0.07
- id: ClothingBeltUtility
prob: 0.10
- id: ClothingHeadHatCone
Expand Down
14 changes: 14 additions & 0 deletions Resources/Prototypes/Entities/Clothing/Hands/gloves.yml
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,20 @@
fiberMaterial: fibers-synthetic
fiberColor: fibers-black

- type: entity
parent: ClothingHandsBase
id: ClothingHandsGlovesFingerlessInsulated
name: fingerless insulated gloves
description: Insulated gloves resistant to shocks, or at least they used to.
components:
- type: Sprite
sprite: Clothing/Hands/Gloves/fingerlessinsuls.rsi
- type: Clothing
sprite: Clothing/Hands/Gloves/fingerlessinsuls.rsi
- type: Fiber
fiberMaterial: fibers-insulative
fiberColor: fibers-yellow

- type: entity
parent: ClothingHandsBase
id: ClothingHandsGlovesMercFingerless
Expand Down
13 changes: 13 additions & 0 deletions Resources/Prototypes/Entities/Markers/Spawners/Random/salvage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,19 @@
- CrateSalvageEquipment
- CrateMaterialSteel
- CrateMaterialGlass
- CrateServiceJanitorialSupplies
- CrateHydroponicsSeedsMedicinal
- CrateEmergencyInternals
- CrateFoodMRE
- CrateMaterialTextiles
- CrateMedicalSupplies
- CrateEngineeringCableBulk
- CrateMaterialCardboard
- CrateServiceBooks
- CrateServiceSmokeables
- CrateTrashCartFilled
- ClosetMaintenanceFilledRandom
- ClosetEmergencyFilledRandom
rareChance: 0.4
prototypes:
- CrateSalvageAssortedGoodies
Expand Down
8 changes: 8 additions & 0 deletions Resources/Prototypes/Entities/Mobs/NPCs/silicon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,14 @@
- type: NpcFactionMember
factions:
- SimpleNeutral
- type: IntrinsicRadioReceiver
- type: IntrinsicRadioTransmitter
channels:
- Binary
- type: ActiveRadio
channels:
- Binary
- Common
- type: HealthExaminable
examinableTypes:
- Blunt
Expand Down
8 changes: 8 additions & 0 deletions Resources/Prototypes/Entities/Mobs/Player/silicon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,14 @@
showInHands: false
- type: Body
prototype: Drone
- type: IntrinsicRadioReceiver
- type: IntrinsicRadioTransmitter
channels:
- Binary
- type: ActiveRadio
channels:
- Binary
- Common
- type: DoAfter
- type: Pullable
- type: Examiner
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,14 @@
- type: Speech
speechVerb: Robotic
speechSounds: Vending
- type: IntrinsicRadioReceiver
- type: IntrinsicRadioTransmitter
channels:
- Binary
- type: ActiveRadio
channels:
- Binary
- Common
- type: DoAfter
- type: Electrified
enabled: false
Expand Down
26 changes: 13 additions & 13 deletions Resources/Prototypes/Recipes/Lathes/Parts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,34 +50,34 @@
Steel: 150
Plastic: 150
Plasma: 75

#Rating 3
- type: latheRecipe
id: SuperCapacitorStockPart
result: SuperCapacitorStockPart
completetime: 3
materials:
Steel: 250
Plastic: 250
Plasma: 100
Gold: 125
Steel: 150
Plastic: 150
Plasma: 75
Gold: 75

- type: latheRecipe
id: SuperMatterBinStockPart
result: SuperMatterBinStockPart
completetime: 3
materials:
Steel: 250
Plastic: 250
Plasma: 100
Gold: 125
Steel: 150
Plastic: 150
Plasma: 75
Gold: 75

- type: latheRecipe
id: PicoManipulatorStockPart
result: PicoManipulatorStockPart
completetime: 3
materials:
Steel: 250
Plastic: 250
Plasma: 100
Gold: 125
Steel: 150
Plastic: 150
Plasma: 75
Gold: 75
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"version": 1, "license": "CC-BY-SA-3.0", "copyright": "Taken from tgstation at commit https://github.com/tgstation/tgstation/commit/4f6190e2895e09116663ef282d3ce1d8b35c032e", "size": {"x": 32, "y": 32}, "states": [{"name": "icon"}, {"name": "equipped-HAND", "directions": 4}, {"name": "inhand-left", "directions": 4}, {"name": "inhand-right", "directions": 4}]}

0 comments on commit 076b314

Please sign in to comment.