Author Topic: AxoCity - CityRPG but better  (Read 2018 times)

This is intended to be like /Ty's CityRPG while being sort of more realistic.
Code: [Select]
//----------PROJECT: AxoCity
//----------AUTHOR: Axolotl (BL_ID 32440)
//----------SCRIPT: Saver loading and generic functionality
//Saver loop, generation, etc.

function AxoCity_CreateRPDB()
{
warn("... Attempting to create and initialize AxoCity Saver");
if (isObject(AxoCity_RPDB))
return;
new ScriptObject(AxoCity_RPDB)
{
class = Saver;
folder = "config/server/AxoCity/saves/";
file = "config/server/AxoCity/listID.dat";
defFile = "config/server/AxoCity/default.dat";
saveExt = "sav";
};

AxoCity_RPDB.addValue("Job", "Civilian");
AxoCity_RPDB.addValue("Money", 100);
AxoCity_RPDB.addValue("Ore", 0);
AxoCity_RPDB.addValue("Lumber", 0);
AxoCity_RPDB.addValue("Fish", 0);
AxoCity_RPDB.addValue("Education", 0);
AxoCity_RPDB.addValue("JailTime", 0);
AxoCity_RPDB.addValue("Demerits", 0);
AxoCity_RPDB.addBool("CrimRecord", false);
AxoCity_RPDB.saveDefs();

AxoCity_RPDB.load();
AxoCity_RPDB.loadKeyList();

AxoCity_RPDB.nonPlayerData = AxoCity_RPDB.makeOnline(888888); //888888 will never be used so who cares, because I don't feel like making a SaverRow.
}
It'll probably be throwaway but it's worth trying.

I've had my fair share of people yelling at me about Sassy and RPCore, so I am just going to use RPCore's Saver.
ffs, haven't tested it and I will when the framework is done.

-> Framework (almost done)
---> PlayerDB (done)
---> Saving (using McTwist's Saver)
---> Generate minigame (done)
---> Date system (using Iban's CalendarSO)
---> Job system (not started)
---> Clothing system that isn't horribly limited like Iban's (not started)

-> Resource obtaining (not started)
---> Fishing
---> Mining
---> Lumber

-> Economy (sort of started)


use sublime text, forget that weird text editor you talked about on the second to last post of the other topic

Yay, another one of these. Because writing something unique and from scratch is too mainstream.

use sublime text, forget that weird text editor you talked about on the second to last post of the other topic

why not use 1337 instead of 888888?

Yay, another one of these. Because writing something unique and from scratch is too mainstream.
I am an uncreative type of person, and I frequently base something on something else.
why not use 1337 instead of 888888?
I like 888888. Also, BL_ID 888888 is the public brickgroup's ID.
use sublime text, forget that weird text editor you talked about on the second to last post of the other topic
I don't like using trial software and then asking my parents to pay for it.
« Last Edit: December 26, 2012, 10:22:59 PM by Axolotl2 »

Interesting project.

Good luck!

I don't like using trial software and then asking my parents to pay for it.

It isn't trial software.

I don't like using trial software and then asking my parents to pay for it.
The only downside of trial version is that it very rarely asks you to buy it, and even then, you probably won't even notice.
Trial version is essentially the full version.

Sounds like another CityRPG...

I don't feel like working on this anymore. This is a very unoriginal project, and I'd much rather work on original ideas.

I will work on it again, but at a sort of slow pace.

It isn't trial software.
I'd rather just pay them so that the devs have more money to continue on with projects.