Skip to content

pheonix99/ToggleableThrowingWeapons

Repository files navigation

Toggleable Throwing Weapons

You can now use a toggle to turn daggers and starknives into ranged weapons.

Implementation details

I overrode the BlueprintItemWeapon getter in ItemEntity and ItemEntity. I don't believe this should interfere with anything thanks to the sea of sanity checks but cannot confirm for certain.

Cross-mod compatibility

Works with Hambeard's Thrown Daggers mod and automatically incorperates the daggers from that (as of release 1.0). However, the RangedDaggers and RangedStars settings must be changed from their default true to false for my mod to work! There should be no conflicts with other mods but daggers from elsewhere will not be supported automatically. If/when there is a need for it I'll rig up some way to read the guids out of a supplemental JSON.

Known Quirks

The item names don't change by mode. I'll get to this later.

Credits

Thanks to Truinto for the AddFactOnlyParty code.

Thanks to ifarmpandas for figuring out the fix for AttackStatReplacement bugs

Changelog

1.3.1: Works with 2.2

1.3.0: Fixed compatibility with Morvarch's Playstyle expansions - thanks ifarmpandas

1.2.4: Works with the 2.1

1.2.3: Hopefully fixed graphical jank for the last time

1.2.2: Fixed Rogue Finesse training working with thrown weapons. Turned out to be incredibly imba

1.2.1: Fixed interaction with Way Of The Shooting Star, should fix interaction with other attack /dmg stat replacers in general. Mod thrown weapon STR damage effect no longer force-sets stat dmg multiplier to 100%

1.2: Point Blank Master (and any other ranged-only paramaterized features added by mods) now apply to thrown daggers/starknives. Increased range to 30 feet.

1.1: Fixed dex to melee damage cutting out, fixed some graphical jank