DragonPrime - LoGD Resource Community
Welcome Guest
  • Good morning, Guest.
    Please log in, or register.
  • November 24, 2017, 01:08:15 AM
Home Forums News Downloads Login Register Advanced Search
* * *
DragonPrime Menu
Login
 
 
Resource Pages
Search

Pages: [1]   Go Down
  Print  
Author Topic: Idea For An Item Cabinet  (Read 924 times)
0 Members and 1 Guest are viewing this topic.
TGTarheel
Captain of the Guard
***
Offline Offline

Posts: 169


View Profile
« on: August 31, 2017, 03:34:06 PM »

Ok, this is just for those who use the Item System...
Also, need to have houses.php for my idea to really work.

If you know how you can get a Weapons Closet in your house, thus saving weapons across a dragonkill...

How about a cabinet, or several cabinets, you could buy to store Items in?

What I need to know is how do I make the module know how many of each certain item they have (my idea is different "cabinets" for different types of items)
and then make it so that, like the basicitemshop...you can click down on how many of that item you want to place in the "cabinet?

Of course then you also need to be able to withdraw from the cabinet, but it will know how many of each item you have already in the cabinet via your prefs, so no biggie there.

My ideas is like, a Medicine Cabinet for potions, a Pantry for food/feed items, a Nightstand for various odds and ends.....and so on....all of which you could buy through the office where you build your house and where you buy your closet...and where you also order a party.

Any help??  Not quite sure where to start on this one, but it would be a fun idea.
Logged
TGTarheel
Captain of the Guard
***
Offline Offline

Posts: 169


View Profile
« Reply #1 on: October 06, 2017, 05:10:13 PM »

I actually made all the items I wanted - by modifying the code of houses.php - but it is all hard-coded specific to my site and my items.

I would release this to anyone who may want it with the note that you can't just plug and play this, you would have to alter the hard coding for your own site.

It works on 1.1.0 and I see no reason it should not work on any 1.x.x version.
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  


*
DragonPrime Notices
Version 1.1.2 is the current supported version and is available for download.

Support Us
No funds raised yet this year
Your help is greatly appreciated!
Recent Topics
DragonPrime LoGD
Who's Online
20 Guests, 0 Users
Home Forums News Downloads Login Register Advanced Search