DragonPrime - LoGD Resource Community
Welcome Guest
  • Good morning, Guest.
    Please log in, or register.
  • November 12, 2018, 10:14:55 AM
Home Forums News Downloads Login Register Advanced Search
* * *
DragonPrime Menu
Login
 
 
Resource Pages
Search

Pages: [1]   Go Down
  Print  
Author Topic: Soup Kitchen - Village shop  (Read 4768 times)
0 Members and 1 Guest are viewing this topic.
robert
Old Dog
Mod God
*****
Offline Offline

Posts: 1047


LoGD Buff!


View Profile WWW
« on: February 07, 2006, 08:11:38 PM »

Ever wonder what a coder does with senseless ideas?
They make mods out of them ....LOL

Soup Kitchen - adds a shop where player can rob the place for a pitence of gold and suffer a charm loss along with it. If player has 2K gold on them, they can make a donation for an increase in charm.
Includes vertexloc for easy updating. Admin settings for min and max charm given (random), and for location of the shop.

Soup Kitchen:
http://dragonprime.net/index.php?module=Downloads;sa=dlview;id=826
« Last Edit: April 14, 2010, 10:59:32 PM by robert » Logged

DaveS
Mod God
*****
Offline Offline

Posts: 1544


Dfly... you know, as in DaveFly


View Profile
« Reply #1 on: February 07, 2006, 09:14:16 PM »

looks good... could you add something like:

Code:
if ($howmuch>2000 && $session[user][charm]>get_module_setting("maxcharm")


so that players with a high charm don't have the option of buying it here?
« Last Edit: February 07, 2006, 09:14:36 PM by DaveS » Logged

Check out my Last Module:
The Dragon Eggs Expansion
http://dragonprime.net/index.php?topic=8474.0

About my Retirement:
http://dragonprime.net/index.php?topic=9080

See my complete module list here:
http://dragonprime.net/index.php?topic=3038.0
robert
Old Dog
Mod God
*****
Offline Offline

Posts: 1047


LoGD Buff!


View Profile WWW
« Reply #2 on: February 07, 2006, 09:58:57 PM »

No problem Dave, added even more settings.

V1.2
- set amt of charm player is less than to donate
- set amt of donation
- set amt of charm gained for donation
Player can only donate once per day.

Same download link as above.
Logged

robert
Old Dog
Mod God
*****
Offline Offline

Posts: 1047


LoGD Buff!


View Profile WWW
« Reply #3 on: April 14, 2010, 11:04:23 PM »

V1.3
 - corrects the download link in the file
 - same download link as above
Logged

Silient
Militia
**
Offline Offline

Posts: 71


View Profile
« Reply #4 on: April 15, 2010, 05:49:03 PM »

This could also be integrated with the food and bladder modules. Eat and lose charm if your poor if your rich/have to much charm your pride prevents you from getting food?
Then you could even torment people "The sweet aroma doubled your hunger!"
Things like that.
Logged

Pages: [1]   Go Up
  Print  
 
Jump to:  


*
DragonPrime Notices
Please take the time to read the FAQ and browse the DragonPedia

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