Skip to content

Commit

Permalink
Hotfix explosive bolt being craftable via anything with Comp Explosive (
Browse files Browse the repository at this point in the history
#2976)

* Hotfix explosive bolt being craftable via anything with Comp Explosive
this included RTGS & Air tanks for some reason, moved the targeting requirement to a Firebomb tag. which might not be optimal but works.

* added # Frontier in relevent area's and changed tag to be more obvious as to what its for

* Revert "added # Frontier in relevent area's and changed tag to be more obvious as to what its for"

This reverts commit f7736f1.

* Revert "Hotfix explosive bolt being craftable via anything with Comp Explosive"

This reverts commit 3f2ff29.

* Now acomplished Via a NFexplosivecraftingcomponent

* NFExplosivecrafting to NFFireBomb

---------

Co-authored-by: Dvir <[email protected]>
Co-authored-by: Whatstone <[email protected]>
Co-authored-by: Whatstone <[email protected]>
  • Loading branch information
4 people authored Feb 25, 2025
1 parent f72aab0 commit cc500bb
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
namespace Content.Server._NF.Whitelist.Components;

/// <summary>
/// Whitelist component for fire bombs to avoid tag redefinition and collisions
/// </summary>
[RegisterComponent]
public sealed partial class NFFireBombComponent : Component;
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
name: fire bomb
description: A weak, improvised incendiary device.
components:
- type: NFFireBomb # Frontier
- type: WeaponCaseInsertable # Frontier
- type: Sprite
sprite: Objects/Weapons/Bombs/ied.rsi
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
- type: constructionGraph
- type: constructionGraph
id: CraftCrossbowBoltGlassShard
start: start
graph:
Expand Down Expand Up @@ -127,7 +127,7 @@
sprite: Objects/Weapons/Guns/Ammunition/Casings/shotgun_shell.rsi
state: base
doAfter: 1
- component: Explosive
- component: NFFireBomb
name: Firebomb
icon:
sprite: Objects/Weapons/Bombs/ied.rsi
Expand Down

0 comments on commit cc500bb

Please sign in to comment.