Garry's Mod

Garry's Mod

27 vurderinger
ttt_potOfGreed
   
Pris
Føj til foretrukne
Gjort til foretrukken
Fjern som foretrukken
Content Type: Addon
Addon Type: Weapon
Filstørrelse:
Offentliggjort:
Opdateret:
269.448 KB
7. mar. 2020 kl. 8:15
10. apr. 2020 kl. 5:37
5 ændringsbemærkninger ( vis )

Abonner for at downloade
ttt_potOfGreed

Beskrivelse
Pot of greed is a weapon mod for Garry's mod's Trouble in Terrorist Town 2. It doesn't work with the original TTT gamemode as of now.

Github: can't link, my full name is apparently very insulting for steam. Ask me in DM or find it on github under the name of ttt_potOfGreed, made by some guy named Nicolas Lutz, all attached.

What does pot of greed even do?
Much like its Yu-Gi-Oh! counterpart, this item gives you two random items from the shop of your role.
Game design-wise, this item should be used when a shop contains a lot of different items modded in, as more often than not, some shop items go unused. The user will be able to enjoy an increased number of items in exchange for control over which items they want to buy.

ConVar options
  • ttt_potOfGreed_nbItemsToGive allows you to change the number of shop items given by the pot of greed (default is 2).

  • ttt_potOfGreed_conflictPolicy determines what to do when an item received takes the same slot as an item already in the buyer's inventory (default is 2).
    • 0 - do nothing. The new item is lost.
    • 1 - override the current item. The user may still lose items if several items taking the same slot are obtained.
    • 2 - override the current item, and prevent next given items from overriding this new item (e.g. you won't get a slot 4 grenade after another slot 4 grenade, but you might get two slot 7 items).
    • 3 - avoid needing to override the current item by preventing the pot from giving the same kind of item (e.g. you won't get a slot 4 grenade if you already have one when buying the pot. Not recommended, necessary on rare occasions).
    The conflict policy only concerns items taking standard slots (<6), otherwise it acts as if it was set to 0. The best is to make the pot the first item you buy if you want to use it!

Known issues

How to install
Subscribe to the collection, or download and extract the project from github in your addons folder. In any case, make sure TTT2 is installed as well.
Populære diskussioner Vis alle (1)
2
14. juli 2020 kl. 10:54
% draw?
Arc Asterisk (Ion)
13 kommentarer
TheSealWithSalt 16. juni 2024 kl. 3:14 
Wish the Item would work, as of now it drops nothing, we have a limited shop for variety, idk if it clashes with that perhaps, any idea ?
Sirius 29. mar. 2024 kl. 11:38 
Everyday im crying at the club over how this is broken.
mexikoedi 25. feb. 2024 kl. 14:16 
It creates an error on the newest version of TTT2 (0.13.0b) and seems to not work correctly:
Here the error:
[ttt_potOfGreed] lua/weapons/weapon_ttt_potofgreed.lua:157: attempt to call global 'EquipmentIsBuyable' (a nil value)
1. func_update - lua/weapons/weapon_ttt_potofgreed.lua:157
2. UpdateEquipmentTable - lua/weapons/weapon_ttt_potofgreed.lua:113
3. WasBought - lua/weapons/weapon_ttt_potofgreed.lua:156
4. callback - gamemodes/terrortown/gamemode/shared/sh_shop.lua:310
5. GiveEquipmentWeapon - gamemodes/terrortown/gamemode/server/sv_player_ext.lua:474
6. BuyEquipment - gamemodes/terrortown/gamemode/shared/sh_shop.lua:307
7. func - gamemodes/terrortown/gamemode/server/sv_shop.lua:95
8. unknown - lua/includes/extensions/net.lua:38
wizard ducklett 1. juli 2022 kl. 20:12 
but what does it do
Lutzi🦉  [ophavsmand] 10. sep. 2021 kl. 13:02 
No chance but I don't remember why I couldn't
The Pie Man 1. sep. 2021 kl. 9:25 
Any chance this will be ported to original TTT?
Dac64 11. sep. 2020 kl. 11:54 
WHAT DOES POT OF GREED DO!?
QU1CK5C0P3RM4N9000_YT 15. mar. 2020 kl. 23:43 
bUt wHaT dOeS pOt-Of-GrEeD dO!!??/??/?!!!111!!
Pedrones7777 9. mar. 2020 kl. 8:40 
tell me, what does it do?
not_ryuka 8. mar. 2020 kl. 9:51 
what does it even do?