Garry's Mod

Garry's Mod

96 个评价
Simple Weed (DarkRP)
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 实体
插件标签: 快乐, 角色扮演
文件大小
发表于
更新日期
9.197 MB
2021 年 7 月 9 日 上午 5:00
7 月 13 日 下午 6:35
4 项改动说明 ( 查看 )

订阅以下载
Simple Weed (DarkRP)

在 ThatCatGuy 的 1 个合集中
Simple Collection DarkRP
9 件物品
描述
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠀
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

热门讨论 查看全部(1)
0
2022 年 2 月 18 日 下午 3:22
置顶: (Put this in entities.lua in DarkRP modification if you dont see any of the weed items in the f4 tab
Sakiayuo
65 条留言
Kronos 10 月 1 日 上午 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 9 月 12 日 上午 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  [作者] 9 月 12 日 上午 10:27 
There are other more advanced weed systems out there this one is a Simple one. ;)
wsBoogie 9 月 12 日 上午 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.
рейдж лубеница 8 月 2 日 上午 9:21 
ok
ThatCatGuy  [作者] 8 月 2 日 上午 8:49 
I will look into adding sandbox support as it’s been requested multiple times and add nmoney
рейдж лубеница 8 月 2 日 上午 6:22 
sandbox support?
ThatCatGuy  [作者] 7 月 14 日 下午 3:01 
Updated
Халяльный пылесо 7 月 10 日 下午 9:42 
oh
ThatCatGuy  [作者] 7 月 10 日 上午 10:35 
still no sandbox support.