123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
/*
TERRITORY_CONFIG_ALLOWED_GLOBAL_PROPSPAWN
If set to false then
No one allowed to spawn props outside a territory
If set to true then
Prop spawn allowed everywhere except territories with prop spawn
alowed for owners / not allowed
*/
TERRITORY_CONFIG_ALLOWED_GLOBAL_PROPSPAWN = true
/*
TERRITORY_CONFIG_STRIP_BUILDWEAPONS
If set to true then
Tool and phys gun avalible for everyone / owners only at territory with
prop spawn enabled for everyone / owners.
If set to false then
Tool and physgun avalible everywhere
Do not forget to remove gmod_tool and weapon_physgun from GM.Config.DefaultWeapons
*/
TERRITORY_CONFIG_STRIP_BUILDWEAPONS = false
/*
TERRITORY_CONFIG_DISABLEOWNERSHIP_TO_ALL_DOORS
If set to true then
All doors outside a territory will become non-ownable
If set to false then
All doors outside a territory will become ownable
(however you can disable it's ownership through default door menu)
*/
TERRITORY_CONFIG_DISABLEOWNERSHIP_TO_ALL_DOORS = false
/*
TERRITORY_CONFIG_SHOW_TERRITORY_OUTLINE_TOOLGUN
If set to true then
Territory box will be visible if player is holding a toolgun
Otherwise set to false
(however territory outline is stil visible if you are holding a toolgun and select a Territroy maker as a tool)
*/
TERRITORY_CONFIG_SHOW_TERRITORY_OUTLINE_TOOLGUN = false
/*
TERRITORY_CONFIG_SHOW_TERRITORY_OUTLINE_PHYSGUN
If set to true then
Territory box will be visible if player is holding a physgun
Otherwise set to false
(however territory outline is stil visible if you are holding a toolgun and select a Territroy maker as a tool)
*/
TERRITORY_CONFIG_SHOW_TERRITORY_OUTLINE_PHYSGUN = false
/*
TERRITORY_CONFIG_SELL_MULTIPLIER
Sell price is equal to original price multiplied by TERRITORY_CONFIG_SELL_MULTIPLIER value
*/
TERRITORY_CONFIG_SELL_MULTIPLIER = 0.5
/*
checkRights
Admins can spawn props where they want, also toolgun / physgun avalible for them everywhere
*/
function checkRights(ply)
return ply:IsAdmin() // replace this with admin system you are using
end
/*
TRANSLATIONS
*/
TERRITORY_LANGUAGE_CANT_AFFORD = "You cannot afford this."
TERRITORY_LANGUAGE_OWNER_ADDED = "Owner added successfully."
TERRITORY_LANGUAGE_OWNER_REMOVED = "Owner removed successfully."
TERRITORY_LANGUAGE_PURCHASE_FOR = "Buy for %i$."
TERRITORY_LANGUAGE_AVALIBLE_FOR = "Avalible for %i$"
TERRITORY_LANGUAGE_OWNED_BY = "Owned by %s."
TERRITORY_LANGUAGE_SURE = "Are you sure?"
TERRITORY_LANGUAGE_YES = "Yes"
TERRITORY_LANGUAGE_NO = "No"
TERRITORY_LANGUAGE_SELL_FOR = "Sell for %i$."
TERRITORY_LANGUAGE_ADD_OWNER = "Add owner"
TERRITORY_LANGUAGE_REMOVE_OWNER = "Remove owner"
TERRITORY_LANGUAGE_NONE = "Noone avalible"
TERRITORY_LANGUAGE_PROP_SPAWN_NOT_ALLOWED = "Prop spawn not allowed here"
/*
UI Colors
*/
COLOR_WHITE = Color(255, 255, 255, 255) // text color
COLOR_HOVER = Color(241, 209, 94, 255) // golden color
COLOR_BLACK = Color(0, 0, 0, 255) // background color
COLOR_OUTLINE= Color(0, 0, 0, 255) // outline color