Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- DarkRP.createEntity("Bottle", {
- ent = "mn_bottle",
- model = "models/props_junk/glassjug01.mdl",
- price = 200,
- max = 5,
- cmd = "buybottle",
- category = "Moonshine",
- allowed = {TEAM_MOON},
- customCheck = function(ply) return
- table.HasValue({TEAM_MOON}, ply:Team())
- end,
- CustomCheckFailMsg = "You aren't a moonshiner",
- })
- DarkRP.createEntity("Corn Seed", {
- ent = "mn_cseed",
- model = "models/props/cs_italy/orange.mdl",
- price = 100,
- max = 5,
- cmd = "buycorns",
- category = "Moonshine",
- allowed = {TEAM_MOON},
- customCheck = function(ply) return
- table.HasValue({TEAM_MOON}, ply:Team())
- end,
- CustomCheckFailMsg = "You aren't a moonshiner",
- })
- DarkRP.createEntity("Dirt", {
- ent = "mn_dirt",
- model = "models/soil/soil.mdl",
- price = 100,
- max = 5,
- cmd = "buydirt",
- category = "Moonshine",
- allowed = {TEAM_MOON},
- customCheck = function(ply) return
- table.HasValue({TEAM_MOON}, ply:Team())
- end,
- CustomCheckFailMsg = "You aren't a moonshiner",
- })
- DarkRP.createEntity("Distillery", {
- ent = "mn_distillery",
- model = "models/bronze_barrel/bronze_barrel.mdl",
- price = 100,
- max = 1,
- cmd = "buydis",
- category = "Moonshine",
- allowed = {TEAM_MOON},
- customCheck = function(ply) return
- table.HasValue({TEAM_MOON}, ply:Team())
- end,
- CustomCheckFailMsg = "You aren't a moonshiner",
- })
- DarkRP.createEntity("Barrel", {
- ent = "mn_barrel",
- model = "models/wood_barrel/wood_barrel.mdl",
- price = 100,
- max = 5,
- cmd = "buybar",
- category = "Moonshine",
- allowed = {TEAM_MOON},
- customCheck = function(ply) return
- table.HasValue({TEAM_MOON}, ply:Team())
- end,
- CustomCheckFailMsg = "You aren't a moonshiner",
- })
- DarkRP.createEntity("Harvest Corn", {
- ent = "mn_ccorn",
- model = "models/plants/corn_bunch.mdl",
- price = 100,
- max = 5,
- cmd = "buycornn",
- category = "Moonshine",
- allowed = {TEAM_MOON},
- customCheck = function(ply) return
- table.HasValue({TEAM_MOON}, ply:Team())
- end,
- CustomCheckFailMsg = "You aren't a moonshiner",
- })
- DarkRP.createEntity("Harvest Grain", {
- ent = "mn_ggrain",
- model = "models/plants/wheat_bunch.mdl",
- price = 100,
- max = 5,
- cmd = "buygrainn",
- category = "Moonshine",
- allowed = {TEAM_MOON},
- customCheck = function(ply) return
- table.HasValue({TEAM_MOON}, ply:Team())
- end,
- CustomCheckFailMsg = "You aren't a moonshiner",
- })
- DarkRP.createEntity("Oxidation Pool", {
- ent = "mn_bucket",
- model = "models/wood_bucket/wood_bucket.mdl",
- price = 100,
- max = 5,
- cmd = "buypool",
- category = "Moonshine",
- allowed = {TEAM_MOON},
- customCheck = function(ply) return
- table.HasValue({TEAM_MOON}, ply:Team())
- end,
- CustomCheckFailMsg = "You aren't a moonshiner",
- })
- DarkRP.createEntity("Pot", {
- ent = "mn_pot",
- model = "models/pot/pot_nodirt.mdl",
- price = 100,
- max = 5,
- cmd = "buypot",
- category = "Moonshine",
- allowed = {TEAM_MOON},
- customCheck = function(ply) return
- table.HasValue({TEAM_MOON}, ply:Team())
- end,
- CustomCheckFailMsg = "You aren't a moonshiner",
- })
- DarkRP.createEntity("Water", {
- ent = "mn_water",
- model = "models/props_junk/big_water_bottle.mdl",
- price = 100,
- max = 5,
- cmd = "buyptt",
- category = "Moonshine",
- allowed = {TEAM_MOON},
- customCheck = function(ply) return
- table.HasValue({TEAM_MOON}, ply:Team())
- end,
- CustomCheckFailMsg = "You aren't a moonshiner",
- })
- -- --------------------------------------------------------------------------
- -- Jobs
- TEAM_MOON = DarkRP.createJob("Moonshine Brewer", {
- color = Color(60, 255, 209, 255),
- model = {"models/player/hostage/hostage_04.mdl"},
- description = [[Cook Moonshine for a Living!]],
- weapons = {},
- command = "moonshine",
- max = 4,
- salary = 75,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = true,
- category = "Criminals"
- })
- --------------------------------------------------------------------------------
- Categories
- DarkRP.createCategory{
- name = "Moonshine",
- categorises = "entities",
- startExpanded = true,
- color = Color(35, 220, 245, 255),
- canSee = function(ply) return table.HasValue({TEAM_MOON}, ply:Team()) end,
- sortOrder = 1
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement