Garry's Mod

Garry's Mod

95 betyg
Simple Weed (DarkRP)
   
Utmärkelse
Favorit
Favoritmarkerad
Avfavoritmarkerad
Content Type: Addon
Addon Type: Entity
Addon Tags: Fun, Roleplay
Filstorlek
Lades upp
Uppdaterades
9.197 MB
9 jul, 2021 @ 5:00
13 jul @ 18:35
4 ändringsnotiser ( visa )

Abonnera för att ladda ner
Simple Weed (DarkRP)

I 1 samling av ThatCatGuy
Simple Collection DarkRP
9 artiklar
Beskrivning
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠀
Simple Weed (DarkRP)

This is a nice little basic weed system with plants, seeds, weed bags, weed basket and weed buyer NPC. This is set by default to the Gangster Job.

Any bugs please comment and I will fix them ASAP.


Extra Info

  • This is for the Gangster job only by default.
  • You will be made wanted when you sell the weed.
  • You can check you current weed you are holding by typing in the chat box either /weed or !weed this will then tell you in chat how much if any you have on you.
  • You can get rewards as a CP for arresting or killing someone holding weed on their person it will give you a cut of the value. It will work out how much weed they have on them multiply it by how much it sells for then give you half of that value. So 1 bag of weed worth 27,000 / 2 = 13,500
  • You can also get rewards as a player for killing someone holding weed on their person it will devide what they have on them by 4 and give you the amount as weed to sell. so if they have 4 bags on them it will give you one for killing them.


How to configure

    NPC Config

  • You can spawn the weed buyer by looking where you want him to spawn then using console command simpleweed_spawnnpc.
  • You can save the weed buyer(s) locations on the current map by using console command simpleweed_savenpcs.
  • You can remove the weed buyer(s) locations on the current map by using console command simpleweed_removenpcs this will prevent them spawning on the next restart..
  • You can respawn the weed buyer(s) locations on the current map by using console command simpleweed_respawnnpcs this is handy if you just saved them or updated the saves it will remove them from the map and reload from the file so if you move one by mistake then use the respawn command and it will fix its position.

    Weed Config

  • You can set the grow speed of the weed plant by setting simpleweed_growtime xxx in your server console. (Default = 85 seconds per stage so in total its just under 10 mins of grow time)
  • You can set the sell price of the weed bags by setting simpleweed_sellprice xxx in your server console. (Default = 27,000 per bag)
  • You can set the extra grow of the weed plant by setting simpleweed_extragrow 1 in your server console. (Default = 1 meaning the player will be allowed to add 2 grow formulas and make the plant produce 3 bags of weed, if set to 0 it will allow only 1 grow formula and produce 2 bags of weed)
  • To configure the price of the ents or change it so its not limited to the Gangster Job then download it from the GitHub link below and edit the darkrp info.


How to spawn

  • Change to Gangster then open the F4 menu and goto entites and purchase the Weed Pot, Weed Seeds and Weed Box (The box is an extra to store weed bags in if you want to but not required to grow weed) then put the weed seeds onto the weed pot and wait for it to grow. You can also stand up the weed pots if they fall by Holding SHIFT and pressing E (Use).


GitHub Download

Populära diskussioner Visa alla (1)
0
18 feb, 2022 @ 15:22
KLISTRAD: (Put this in entities.lua in DarkRP modification if you dont see any of the weed items in the f4 tab
Sakiayuo
65 kommentarer
Kronos 1 okt @ 6:01 
Hello, i have this error :

[Simple Weed (DarkRP)] lua/entities/weed_plant/cl_init.lua:47: attempt to index local 'simpleweed_growtime' (a nil value)
1. Draw - lua/entities/weed_plant/cl_init.lua:47
2. unknown - gamemodes/base/entities/entities/base_anim.lua:49 (x3501)
wsBoogie 12 sep @ 11:09 
Yeah I already added the functionality to this one. simple is better. just a cool small feature to add is all it is.
ThatCatGuy  [skapare] 12 sep @ 10:27 
There are other more advanced weed systems out there this one is a Simple one. ;)
wsBoogie 12 sep @ 9:37 
Feature Idea. have it support background Citizens where you can sell drugs to civilians. They have a chance to call the police on you etc. proper weed selling addon.
ThatCatGuy  [skapare] 2 aug @ 8:49 
I will look into adding sandbox support as it’s been requested multiple times and add nmoney
sandbox support?
ThatCatGuy  [skapare] 14 jul @ 15:01 
Updated
ThatCatGuy  [skapare] 10 jul @ 10:35 
still no sandbox support.