Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ namespace Content.Shared._NF.Clothing.EntitySystems;

public sealed partial class SharedNFMoonBootsSystem : EntitySystem
{
[Dependency] private SharedGravitySystem _gravity = default!; /// Change-Forge
[Dependency] private AlertsSystem _alerts = default!;
[Dependency] private ClothingSystem _clothing = default!;
[Dependency] private InventorySystem _inventory = default!;
Expand Down Expand Up @@ -40,6 +41,7 @@ private void OnToggled(Entity<NFMoonBootsComponent> ent, ref ItemToggledEvent ar
&& uid == worn)
{
UpdateMoonbootEffects(container.Owner, ent, args.Activated);
_gravity.RefreshWeightless(container.Owner); /// Change-Forge
}

var prefix = args.Activated ? "on" : null;
Expand All @@ -50,11 +52,13 @@ private void OnToggled(Entity<NFMoonBootsComponent> ent, ref ItemToggledEvent ar
private void OnGotUnequipped(Entity<NFMoonBootsComponent> ent, ref ClothingGotUnequippedEvent args)
{
UpdateMoonbootEffects(args.Wearer, ent, false);
_gravity.RefreshWeightless(args.Wearer); /// Change-Forge
}

private void OnGotEquipped(Entity<NFMoonBootsComponent> ent, ref ClothingGotEquippedEvent args)
{
UpdateMoonbootEffects(args.Wearer, ent, _toggle.IsActivated(ent.Owner));
_gravity.RefreshWeightless(args.Wearer); /// Change-Forge
}

public void UpdateMoonbootEffects(EntityUid user, Entity<NFMoonBootsComponent> ent, bool state)
Expand Down
1 change: 0 additions & 1 deletion Resources/Locale/ru-RU/_NF/chat/emotes.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -59,5 +59,4 @@ chat-emote-msg-vulpkanin-whines = скулит
chat-emote-msg-vulpkanin-howls = воет
chat-emote-msg-vulpkanin-awoo = воет

chat-emote-name-hiss = Шипеть
chat-emote-msg-hiss = шипит
2 changes: 1 addition & 1 deletion Resources/Locale/ru-RU/recipes/recipes.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -90,4 +90,4 @@ construction-recipe-suit-storage = { ent-SuitStorageBase }
construction-recipe-suit-storage-desc = { ent-SuitStorageBase.desc }

construction-recipe-suit-storage-wallmount = { ent-SuitStorageWallmount }
construction-recipe-suit-storage-desc = { ent-SuitStorageWallmount.desc }
construction-recipe-suit-storage-wallmount-desc = { ent-SuitStorageWallmount.desc }
2 changes: 1 addition & 1 deletion Resources/Prototypes/Catalog/Fills/Boxes/general.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
- type: Tag
tags:
- BoxCardboard
- Trash # Frontier
# - Trash # Frontier #Forge-Change-Del

- type: entity
name: mousetrap box
Expand Down
11 changes: 11 additions & 0 deletions Resources/Prototypes/Catalog/Fills/Crates/service.yml
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,17 @@
prob: 0.1
- id: ShardGlassPlasma
prob: 0.1
# Forge-Change-Start
# Goblin
- id: FireExtinguisher
prob: 0.05
- id: TrashBag
prob: 0.2
- id: Beaker
prob: 0.05
- id: DrinkColaCanEmpty
prob: 0.15
# Forge-Change-End

- type: entity
id: CrateCandles
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
- id: FoodTinMRETrash # Frontier
- id: MysteryFigureBoxTrash # Frontier
- id: FoodPSBTrash # Frontier
- id: DrinkColaCanEmpty # Forge-Change
- !type:GroupSelector
weight: 5
children:
Expand All @@ -35,6 +36,8 @@
- id: TrashBananaPeel # Frontier
- id: FoodCornTrash # Frontier
- id: TrashNapkin # Frontier
- id: Beaker # Forge-Change
- id: DrinkGlass # Forge-Change

- type: entity
name: Trash Spawner
Expand Down
10 changes: 6 additions & 4 deletions Resources/Prototypes/Entities/Mobs/NPCs/regalrat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -345,10 +345,12 @@
- type: weightedRandomEntity
id: RatKingLoot
weights: # DeltaV: Rebalanced for Rodentia rummaging because we don't have Rat King
RandomSpawner100: 100 #garbage
# FoodCheeseSlice: 15 #food
# RandomSnacks: 10
# RandomFoodSingle: 5
# Forge-Change-Start
RandomSpawner100: 85 #garbage
FoodCheeseSlice: 5 #food
RandomSnacks: 5
RandomFoodSingle: 5
# Forge-Change-End

- type: entity
id: ActionRatKingRaiseArmy
Expand Down
3 changes: 3 additions & 0 deletions Resources/Prototypes/Entities/Objects/Materials/scrap.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
tags:
- Recyclable
- GoblinPreciousTrash # Forge-Change
- Trash # Forge-Change

- type: entity
parent: BaseStructure
Expand Down Expand Up @@ -125,6 +126,8 @@
- type: Tag
tags:
- MachineBoard
- Trash
- Recyclable
# Forge-Change-End

- type: entity
Expand Down
4 changes: 2 additions & 2 deletions Resources/Prototypes/Entities/Objects/Specific/chemistry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@
- type: StaticPrice
price: 30
- type: DnaSubstanceTrace
- type: TrashOnSolutionEmpty # Frontier
solution: beaker # Frontier
# - type: TrashOnSolutionEmpty # Frontier # Forge-Change-Del
# solution: beaker # Frontier # Forge-Change-Del

- type: entity
parent: BaseItem
Expand Down
2 changes: 1 addition & 1 deletion Resources/Prototypes/Entities/Objects/Tools/binoculars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
delay: 1.0
- type: CursorOffsetRequiresWield
- type: EyeCursorOffset
maxOffset: 5
maxOffset: 10 # Forge-Change
pvsIncrease: 0.5
- type: SpeedModifiedOnWield
walkModifier: 0.95
Expand Down
4 changes: 2 additions & 2 deletions Resources/Prototypes/Entities/Objects/Tools/bucket.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,5 +68,5 @@
# materialComposition:
# Plastic: 50
- type: DnaSubstanceTrace
- type: TrashOnSolutionEmpty # Frontier
solution: bucket # Frontier
# - type: TrashOnSolutionEmpty # Frontier # Forge-Change-Del
# solution: bucket # Frontier # Forge-Change-Del
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
sound:
collection: MetalGlassBreak
- !type:ExplodeBehavior
- type: GravityAffected # Forge-Change

- type: entity
parent: BaseVehicle
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@
whitelist:
components:
- MachineBoard
- type: GravityAffected # Forge-Change

- type: entity
id: MachineFrameDestroyed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -633,6 +633,7 @@
sprite: Structures/Storage/Crates/labels.rsi
offset: "0.0,0.03125"
map: ["enum.PaperLabelVisuals.Layer"]
- type: RatKingRummageable # Forge-Change

- type: entity
parent: CrateBaseSecure
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@
- type: Tag
tags:
- PortableGeneratorClunkerCircuitboard
- Trash

- type: entity
id: GoblinThrusterCircuitboard
Expand Down Expand Up @@ -89,6 +90,7 @@
- type: Tag
tags:
- GoblinThrusterCircuitboard
- Trash

- type: entity
id: GoblinComputerShuttleCircuitboard
Expand All @@ -110,6 +112,9 @@
- type: Construction
graph: goblin_makeshift_circuit
node: goblinComputerShuttleCircuitboard
- type: Tag
tags:
- Trash

- type: entity
parent: BaseItem
Expand All @@ -127,3 +132,6 @@
- type: Construction
graph: goblin_makeshift_circuit
node: incompleteCircuitboard
- type: Tag
tags:
- Trash
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
shader: unshaded
visible: false
offset: 0, 0.5
- type: Machine
board: GoblinThrusterCircuitboard
- type: Construction
graph: goblin_machinery
node: goblinThruster
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@
- type: Repairable
qualities:
- Applicating
- type: GravityAffected # Forge-Change

- type: entity
id: BallisticArtilleryUnanchorable
Expand Down Expand Up @@ -172,6 +173,7 @@
- type: Repairable
qualities:
- Applicating
- type: GravityAffected # Forge-Change

- type: entity
id: BallisticArtilleryCartridge
Expand Down Expand Up @@ -284,6 +286,7 @@
- type: Repairable
qualities:
- Applicating
- type: GravityAffected # Forge-Change

- type: entity
id: BallisticArtilleryMagazine
Expand Down Expand Up @@ -341,6 +344,7 @@
- !type:PlaySoundBehavior
sound:
collection: MetalBreak
- type: GravityAffected # Forge-Change

- type: entity
id: BallisticArtilleryTier2HP # Normal weapons, slightly stronger than plastitanium. This is the baseline durability for your average sized anchorable weapon.
Expand All @@ -361,6 +365,7 @@
- !type:PlaySoundBehavior
sound:
collection: MetalBreak
- type: GravityAffected # Forge-Change

- type: entity
id: BallisticArtilleryTier3HP # Medium weapons. Reinforced plastitanium level. Typical for medium-class weapons. In-between heavy artillery and standard anchorables.
Expand All @@ -387,6 +392,7 @@
- !type:PlaySoundBehavior
sound:
collection: MetalBreak
- type: GravityAffected # Forge-Change

- type: entity
id: BallisticArtilleryTier4HP # Capital Weapons. Cyrexas, main cannons. Anything really big.
Expand All @@ -413,6 +419,7 @@
- !type:PlaySoundBehavior
sound:
collection: MetalBreak
- type: GravityAffected # Forge-Change

- type: entity
id: BallisticArtilleryTier5HP # Supercapital class armament, station outpost weaponry and capital pre-fracture weaponry, around 4x Reinforced Plastitanium Health.
Expand All @@ -439,3 +446,4 @@
- !type:PlaySoundBehavior
sound:
collection: MetalBreak
- type: GravityAffected # Forge-Change
2 changes: 1 addition & 1 deletion Resources/Prototypes/_NF/Catalog/Fills/Crates/salvage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,4 @@
- type: entity
id: NFCrateSalvageAssortedGoodiesTrashCart
categories: [ HideSpawnMenu ]
parent: [ CrateTrashCart, NFCrateSalvageAssortedGoodies ]
parent: [ CrateTrashCartFilled ] # Forge-Change
Original file line number Diff line number Diff line change
Expand Up @@ -115,4 +115,5 @@
- Recyclable
- Trash
maxItemSize: Huge # so you can pick up scrap chunks
- type: RatKingRummageable
# Forge-Change-End
Loading