Username:    Password:      Remember me       
Great White Games/Pinnacle Entertainment Group Forum Index Great White Games/Pinnacle Entertainment Group
Discussion Forum for PEG/GWG
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

[FC] Fantasy Companion Loot Generator
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Great White Games/Pinnacle Entertainment Group Forum Index -> SW Official Settings & Companions
View previous topic :: View next topic  
Author Message
Kristian Serrano
Heroic


Joined: 17 Dec 2008
Posts: 1259
Location: Decatur, GA

PostPosted: Thu Apr 26, 2012 5:13 pm    Post subject: [FC] Fantasy Companion Loot Generator Reply with quote

A month or so ago, I decided I wanted to brush up on my JavaScript and learn jQuery while also dabbling with CSS3. As an experiment, I created a Loot Generator based on the tables in the Fantasy Companion. It's also mobile friendly.

Enjoy, and let me know what you think of it! #1cool
_________________
Savage Bloggers Network
Savage Worlds Google+ Community
Fantasy Companion Loot Generator
Raise Calculator


Last edited by Kristian Serrano on Wed Mar 13, 2013 5:49 am; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
SavageGamerGirl
Heroic


Joined: 24 Oct 2010
Posts: 1593

PostPosted: Thu Apr 26, 2012 5:15 pm    Post subject: Reply with quote

Oh that is very nice! Thanks!
_________________
'But I don't want to go among mad people,' Alice remarked.
'Oh, you can't help that,' said the Cat: 'we're all mad here.'
The Order of the Dice... OF DOOM!
Back to top
View user's profile Send private message
Kristian Serrano
Heroic


Joined: 17 Dec 2008
Posts: 1259
Location: Decatur, GA

PostPosted: Fri Apr 27, 2012 1:03 pm    Post subject: Reply with quote

Thanks! If you find any errors or have any requests, send them my way. I'll see what I can do.
_________________
Savage Bloggers Network
Savage Worlds Google+ Community
Fantasy Companion Loot Generator
Raise Calculator
Back to top
View user's profile Send private message Visit poster's website
GreenTongue
Heroic


Joined: 30 Jul 2003
Posts: 1001
Location: Orlando, FL

PostPosted: Sat Apr 28, 2012 8:09 am    Post subject: Reply with quote

Who doesn't like LOOT!!!!

Very nice for spawning those "Why?" ideas.
=
Back to top
View user's profile Send private message AIM Address
Kristian Serrano
Heroic


Joined: 17 Dec 2008
Posts: 1259
Location: Decatur, GA

PostPosted: Sat Apr 28, 2012 8:25 am    Post subject: Reply with quote

GreenTongue wrote:
Who doesn't like LOOT!!!!

Very nice for spawning those "Why?" ideas.
=
I've had so many ideas just from the combinations of powers and bonuses generated. The number of stories one can come up with for these items is endless.
_________________
Savage Bloggers Network
Savage Worlds Google+ Community
Fantasy Companion Loot Generator
Raise Calculator


Last edited by Kristian Serrano on Mon Apr 30, 2012 10:01 am; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
Ketjak
Novice


Joined: 21 Jan 2012
Posts: 37

PostPosted: Mon Apr 30, 2012 9:17 am    Post subject: Reply with quote

Nice work making it mobile-friendly; thanks and bookmarked!
Back to top
View user's profile Send private message
sablemage
Seasoned


Joined: 26 Feb 2008
Posts: 393
Location: Directly above the centre of the Earth

PostPosted: Mon Apr 30, 2012 1:09 pm    Post subject: Reply with quote

Ooh! Shiny!

Thanks for this, good stuff.
Back to top
View user's profile Send private message
Kristian Serrano
Heroic


Joined: 17 Dec 2008
Posts: 1259
Location: Decatur, GA

PostPosted: Mon Apr 30, 2012 2:12 pm    Post subject: Reply with quote

Thanks again. Designing two stylesheets for this project was a little bit of a challenge. I kept having to make sure whatever additions I made to the screen stylesheet were added to the mobile version. I also had to make sure to exclude those elements from the print CSS.
_________________
Savage Bloggers Network
Savage Worlds Google+ Community
Fantasy Companion Loot Generator
Raise Calculator
Back to top
View user's profile Send private message Visit poster's website
Kristian Serrano
Heroic


Joined: 17 Dec 2008
Posts: 1259
Location: Decatur, GA

PostPosted: Tue May 01, 2012 10:24 am    Post subject: Reply with quote

I was thinking of adding some options that would allow you to choose the type of magic item to generate.

For example, if you wanted to generate a random intelligent weapon, you could check off the options for Intelligent, Melee Weapon, and Ranged Weapon.

Thoughts?
_________________
Savage Bloggers Network
Savage Worlds Google+ Community
Fantasy Companion Loot Generator
Raise Calculator
Back to top
View user's profile Send private message Visit poster's website
SavageGamerGirl
Heroic


Joined: 24 Oct 2010
Posts: 1593

PostPosted: Tue May 01, 2012 10:46 am    Post subject: Reply with quote

If it's not too much work for you, that would be awesome!
_________________
'But I don't want to go among mad people,' Alice remarked.
'Oh, you can't help that,' said the Cat: 'we're all mad here.'
The Order of the Dice... OF DOOM!
Back to top
View user's profile Send private message
Kristian Serrano
Heroic


Joined: 17 Dec 2008
Posts: 1259
Location: Decatur, GA

PostPosted: Tue May 01, 2012 11:54 am    Post subject: Reply with quote

SavageGamerGirl wrote:
If it's not too much work for you, that would be awesome!
It should mostly just be some bits to flip on and off, and depending on whether any are set, including those choices in possible results.
_________________
Savage Bloggers Network
Savage Worlds Google+ Community
Fantasy Companion Loot Generator
Raise Calculator
Back to top
View user's profile Send private message Visit poster's website
Kristian Serrano
Heroic


Joined: 17 Dec 2008
Posts: 1259
Location: Decatur, GA

PostPosted: Tue May 08, 2012 9:31 am    Post subject: Reply with quote

In an effort to teach myself more about PHP, I decided I'm going to convert this project to an app that uses PHP for server-side scripting. I also plan to add one more feature left out of the scope of the original version: Cursed Relics! That's right. When the PHP version is finished, you'll be able to include Cursed Relics in your possible results.
_________________
Savage Bloggers Network
Savage Worlds Google+ Community
Fantasy Companion Loot Generator
Raise Calculator
Back to top
View user's profile Send private message Visit poster's website
77IM
Heroic


Joined: 23 Jun 2009
Posts: 1591
Location: Austin, TX

PostPosted: Tue May 15, 2012 11:17 pm    Post subject: Reply with quote

This is incredible! Nice work!

I find it extremely humorous that using PHP causes you to introduce cursed relics. ;}

-- 77IM
_________________
Stuff I made: Arcane Abilities Talent Edge Savage Fading Suns Savage Wuxia!
Back to top
View user's profile Send private message
Cursed
Novice


Joined: 31 Jul 2009
Posts: 25

PostPosted: Wed May 16, 2012 12:38 am    Post subject: Reply with quote

PHP! Got to be extra careful! http://www.bbspot.com/news/2000/6/php_suspend.html Very Happy

- Cursed
Back to top
View user's profile Send private message
Kristian Serrano
Heroic


Joined: 17 Dec 2008
Posts: 1259
Location: Decatur, GA

PostPosted: Wed May 16, 2012 9:21 am    Post subject: Reply with quote

77IM wrote:
This is incredible! Nice work!

Thank you for the kind words!
77IM wrote:
I find it extremely humorous that using PHP causes you to introduce cursed relics. ;}

I could have included it in the JavaScript version, but that would have been a curse in and of itself. Lately, I've been busy with simply converting the scripted tables. I think I might stop midway and use what I've converted so far to build and test functionality, then return to finishing and including the remaining tables.
Cursed wrote:
PHP! Got to be extra careful! http://www.bbspot.com/news/2000/6/php_suspend.html Very Happy
I was just talking about that article with someone the other day. It's a classic. Smile
_________________
Savage Bloggers Network
Savage Worlds Google+ Community
Fantasy Companion Loot Generator
Raise Calculator
Back to top
View user's profile Send private message Visit poster's website
Kristian Serrano
Heroic


Joined: 17 Dec 2008
Posts: 1259
Location: Decatur, GA

PostPosted: Mon Jun 11, 2012 9:23 pm    Post subject: Reply with quote

Well, I finally finished the conversion to PHP and introduced quite a few UI changes, mostly related to options for the type of item to generate.
http://www.immaterialplane.com/apps/loot/

During the process, I also found a slew of scripting errors pertaining to the logic used. For example, the placement of the script that builds the Attributes for Intelligent Relics caused them to not be saved to the array appropriately, resulting in consistently low die sizes. Now you should be seeing much higher Smarts and Spirit dice.

I haven't created the script for cursed relics yet, and probably won't for some time. Instead, I plan to work on a component that will allow you to save items you've generated to the 'reliquary' with an option to make them public for users to search and browse by type, bonuses, powers, etc.

I might also create an option to submit items that might reflect errors in the script into a 'dump' for review.

I'll be honest, I'm not too keen on the new UI. The consolidated options section is way too long for my taste, but it beats multiple clips/taps to change a binary value that should only require one click.

Please kick the tires as hard as you can and post results here. As I've said in the past, this is a learning exercise for me, so the more mistakes discovered or improvements I can make, the more I learn. Smile
_________________
Savage Bloggers Network
Savage Worlds Google+ Community
Fantasy Companion Loot Generator
Raise Calculator
Back to top
View user's profile Send private message Visit poster's website
Thunderforge
Veteran


Joined: 24 Sep 2009
Posts: 950

PostPosted: Tue Jun 12, 2012 12:38 pm    Post subject: Reply with quote

Any chance we can make custom treasure sizes outside of the base four? Basically, I'd just like to be able to write in the formula for the amount of gold and the percentage that there will be a magic item.
_________________
Wild Card Creator: Any PDF. Any Setting. No Extra Cost.

The Elder Scrolls conversion and other fun creations.
Back to top
View user's profile Send private message
Kristian Serrano
Heroic


Joined: 17 Dec 2008
Posts: 1259
Location: Decatur, GA

PostPosted: Tue Jun 12, 2012 12:41 pm    Post subject: Reply with quote

Thunderforge wrote:
Any chance we can make custom treasure sizes outside of the base four? Basically, I'd just like to be able to write in the formula for the amount of gold and the percentage that there will be a magic item.
That's an interesting idea. It wouldn't be too difficult with a couple of text fields, and that portion of the generation is actually done in javascript on the client side (determines if there's any treasure to generate before calling the rest of the scripts).

I'll add it to my to-do list.
_________________
Savage Bloggers Network
Savage Worlds Google+ Community
Fantasy Companion Loot Generator
Raise Calculator
Back to top
View user's profile Send private message Visit poster's website
Kristian Serrano
Heroic


Joined: 17 Dec 2008
Posts: 1259
Location: Decatur, GA

PostPosted: Thu Jun 14, 2012 8:44 pm    Post subject: Reply with quote

Thunderforge wrote:
Any chance we can make custom treasure sizes outside of the base four? Basically, I'd just like to be able to write in the formula for the amount of gold and the percentage that there will be a magic item.

Done! hit the drop down, select "Custom..." and enter your desired parameters. Smile

Feel free to suggest improvements to that particular section of the UI if you have any.
_________________
Savage Bloggers Network
Savage Worlds Google+ Community
Fantasy Companion Loot Generator
Raise Calculator
Back to top
View user's profile Send private message Visit poster's website
tigerguy786
Veteran


Joined: 26 Nov 2011
Posts: 655

PostPosted: Thu Jun 14, 2012 9:53 pm    Post subject: Reply with quote

How about an item generator? I realize that's probably a big task, but it would be handy.
_________________
"Well, you do know what those who underestimate tigers always say right?"
"What?"
"They scream, 'Oh god help me I'm being mauled to death by a tiger.'"
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Great White Games/Pinnacle Entertainment Group Forum Index -> SW Official Settings & Companions All times are GMT - 5 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum