Skip to content

Add a new longer sling to the game, along with #81870

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 16 commits into
base: master
Choose a base branch
from

Conversation

submariwastaken1time
Copy link

@submariwastaken1time submariwastaken1time commented Jul 17, 2025

name changes to help with distinguishing between the two. Throwing weapons need some love

Summary

Content "Adds new longer sling"

Purpose of change

throwing weapons need some more love

Describe the solution

just a copy of the old sling changed around a bit, the numbers for the new longer sling are just from gut. I'll need to change things around a bit. It is however intended to be twice as long

Describe alternatives you've considered

we could make the sling longer but that seems like trying to stretch one item too far, in reality the actual sling can be whatever length is necessary but ive chosen to make a sling twice the length of the old one

Testing

No tests have been done just yet as compiling isn't really practically possible on my machine.

Additional context

name changes to help with distinguishing between the two.
Throwing weapons need some love
@github-actions github-actions bot added [JSON] Changes (can be) made in JSON new contributor labels Jul 17, 2025
@Procyonae
Copy link
Contributor

No tests have been done just yet as compiling isn't really practically possible on my machine.

You don't need to compile to test JSON changes, the game ships with all the JSON data so you can just download experimental and apply your changes to that, it's obviously more convenient if you have a local git repo setup tho which you can just sync when the release you're downloading comes out and then just copy the compiled exe from the release to your local repo for testing

Copy link
Contributor

@Procyonae Procyonae left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You also want to at least add a way to craft the new sling otherwise there's no way to obtain it through normal gameplay

@@ -1,6 +1,6 @@
[
{
"id": "sling",
"id": "shepherd's_sling",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"id": "shepherd's_sling",
"id": "sling",

That's the id the game uses not the name, if you change this without migration everyone with a save with a sling in will no longer have a sling, we avoid changing ids when it's not necessary. You want to change the name str field a few lines down

Comment on lines 126 to 132
"id": "long_shepherd's_sling",
"looks_like": "slingshot",
"type": "ITEM",
"subtypes": [ "GUN" ],
"symbol": "(",
"color": "brown",
"name": { "ctxt": "weapon", "str": "sling" },
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"id": "long_shepherd's_sling",
"looks_like": "slingshot",
"type": "ITEM",
"subtypes": [ "GUN" ],
"symbol": "(",
"color": "brown",
"name": { "ctxt": "weapon", "str": "sling" },
"id": "sling_long",
"looks_like": "slingshot",
"type": "ITEM",
"subtypes": [ "GUN" ],
"symbol": "(",
"color": "brown",
"name": { "ctxt": "weapon", "str": "shepherd's sling" },

@@ -122,4 +122,31 @@
"reload": 50,
"pocket_data": [ { "pocket_type": "MAGAZINE", "ammo_restriction": { "pebble": 1 }, "open_container": true } ]
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
}
},

Also just missing a comma here

@submariwastaken1time
Copy link
Author

cool, work on them in a bit

@gmastern1
Copy link
Contributor

Are there any CBMs that provide a throwing endgame weapon? Like extra joint torque or a visual lock-on system that would help with aim?

@github-actions github-actions bot added the astyled astyled PR, label is assigned by github actions label Jul 17, 2025
"symbol": "(",
"color": "brown",
"name": { "ctxt": "weapon", "str": "long shepherd's sling" },
"description": "A longer sling, still easy to use and accurate. It uses pebbles as ammunition. It also packs a bigger punch",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"description": "A longer sling, still easy to use and accurate. It uses pebbles as ammunition. It also packs a bigger punch",
"description": "A longer sling, still easy to use and accurate. It uses pebbles as ammunition. It also packs a bigger punch.",

It also packs a bigger punch.
Ranged damage is the same

🤔

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

haha, yeah good catch though i'm still on the fence about that, is 1,5 times more damage a reasonable amount? or is it too small, what do you think?

@submariwastaken1time
Copy link
Author

Are there any CBMs that provide a throwing endgame weapon? Like extra joint torque or a visual lock-on system that would help with aim?

hmm i didn't consider that? though for characters who don't have access to CBMs this seems pretty good

@@ -6,7 +6,7 @@
"subtypes": [ "GUN" ],
"symbol": "(",
"color": "brown",
"name": { "ctxt": "weapon", "str": "sling" },
"name": { "ctxt": "weapon", "str": "shepherd's sling" },
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We discussed this, I don't agree that this clarified anything, sling is fine, or short sling to distinguish it from the long sling.

@github-actions github-actions bot added the json-styled JSON lint passed, label assigned by github actions label Jul 20, 2025
Comment on lines 141 to 142
"weight": "105 g",
"volume": "90 ml",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i doubt it should be just 90 ml, and our density test agrees

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
astyled astyled PR, label is assigned by github actions [JSON] Changes (can be) made in JSON json-styled JSON lint passed, label assigned by github actions new contributor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants