Giter Site home page Giter Site logo

lb-dumpsters's Introduction

lb-dumpsters

Dumpster Diving and Trash Selling

Original dumpster script by zf-labo

Additions

  • Search anything that looks like it contains trash
  • Tier based loot system
  • Trash items
  • Sell trash items to any homeless ped
  • Chance homeless ped steals your food and drugs
  • Added ablity to store items in trash. Code snippets from Jakers

Add Items to Shared lua

['cd'] 				             = {['name'] = 'cd', 			  	  	        ['label'] = 'Compact Disk', 		    ['weight'] = 50, 		['type'] = 'item', 		['image'] = 'cd.png', 		        ['unique'] = false, 	['useable'] = false,  	['shouldClose'] = true,    ['combinable'] = nil,   ['description'] = 'Relic of the 90s'},
['newspaper'] 			 	     = {['name'] = 'newspaper', 			  		['label'] = 'Old Newspaper', 		    ['weight'] = 50, 		['type'] = 'item', 		['image'] = 'newspaper.png', 		['unique'] = false,		['useable'] = false,  	['shouldClose'] = true,    ['combinable'] = nil,   ['description'] = 'Last weeks newspaper'},
['wrapper'] 			 	     = {['name'] = 'wrapper', 					    ['label'] = 'Used Food Wrapper', 		['weight'] = 50, 		['type'] = 'item', 		['image'] = 'wrapper.png', 		    ['unique'] = false,	    ['useable'] = false,  	['shouldClose'] = true,    ['combinable'] = nil,   ['description'] = 'Up-N-Atom Burger wrapper'},
['rat'] 			   	         = {['name'] = 'rat', 					        ['label'] = 'Dead Rat', 		        ['weight'] = 50, 	    ['type'] = 'item', 		['image'] = 'rat.png', 		        ['unique'] = false,	    ['useable'] = false, 	['shouldClose'] = true,    ['combinable'] = nil,   ['description'] = 'Stinky dead rat'},
['roach'] 			 	         = {['name'] = 'roach', 					    ['label'] = 'Cockroach', 		        ['weight'] = 50, 		['type'] = 'item', 		['image'] = 'roach.png', 		    ['unique'] = false, 	['useable'] = false, 	['shouldClose'] = true,    ['combinable'] = nil,   ['description'] = 'A live cockroach'},
['gum'] 				 	     = {['name'] = 'gum', 			  	  		    ['label'] = 'Empty Pack of Gum', 		['weight'] = 50, 		['type'] = 'item', 		['image'] = 'gum.png', 			    ['unique'] = false, 	['useable'] = false,  	['shouldClose'] = true,	   ['combinable'] = nil,   ['description'] = 'Its empty'},
['napkin'] 				         = {['name'] = 'napkin', 			  	        ['label'] = 'Greasy Napkin', 			['weight'] = 50, 		['type'] = 'item', 		['image'] = 'napkin.png', 	        ['unique'] = false, 	['useable'] = false,  	['shouldClose'] = true,	   ['combinable'] = nil,   ['description'] = 'Napkin with leftover ketchop'},
['safetypin'] 				     = {['name'] = 'safetypin', 			  	  	['label'] = 'Broken Safety Pin', 	    ['weight'] = 50, 		['type'] = 'item', 		['image'] = 'safetypin.png', 		['unique'] = false, 	['useable'] = false, 	['shouldClose'] = true,	   ['combinable'] = nil,   ['description'] = 'Broken Safety Pin'},
['scrapwood'] 			 	     = {['name'] = 'scrapwood', 					['label'] = 'Broken Peice of Wood', 	['weight'] = 50, 		['type'] = 'item', 		['image'] = 'scrapwood.png', 		['unique'] = false,		['useable'] = false, 	['shouldClose'] = true,	   ['combinable'] = nil,   ['description'] = 'Karate chopped wood'},
['cardboard'] 			 	     = {['name'] = 'cardboard', 					['label'] = 'Ripped Cardboard', 	    ['weight'] = 50, 		['type'] = 'item', 		['image'] = 'cardboard.png', 		['unique'] = false,		['useable'] = false,  	['shouldClose'] = true,	   ['combinable'] = nil,   ['description'] = 'Ripped Cardboard'},
['ducttape'] 				     = {['name'] = 'ducttape', 			  	  	    ['label'] = 'Duct Tape', 		        ['weight'] = 50, 		['type'] = 'item', 		['image'] = 'ducttape.png', 		['unique'] = false, 	['useable'] = false,  	['shouldClose'] = true,    ['combinable'] = nil,   ['description'] = 'Roll of Duct Tape'},
['wires'] 			 	         = {['name'] = 'wires', 			  		    ['label'] = 'Electrical Wires', 		['weight'] = 50, 		['type'] = 'item', 		['image'] = 'wires.png', 		    ['unique'] = false,		['useable'] = false,  	['shouldClose'] = true,    ['combinable'] = nil,   ['description'] = 'Torn Electrical Wires'},

Add Images to Inventory Script

Change config.lua Options and Items to Fit Your Servers Needs.

Dependencies:

Optional Dependencies:

lb-dumpsters's People

Contributors

gldnrmz avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

aut0cr4t

lb-dumpsters's Issues

Hiding in dumpsters?

What are the chances of you being able to add another option into the dumpsters where you can "hide" in them? Pretty much how the hide in trunk thing works but a dumpster version..

I tired myself but unfortunately I'm not skilled enough and I have issues with the stuff I've done xD

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.