Red Moon I: Rise and Conquer - A neverending medieval RPG

@AlexCosarca You could do as @HelloThere suggests with a simple loop.
And I’d strongly recommend doing so, that would be very useful (there’s NOTHING fun about clicking – shop->potion, shop->potion, shop->potion – …ten times over)!

@HelloThere, I started working on that system yesterday (and finished most of it); it’ll be going up later today I hope! :slight_smile: Thanks for spotting that error as well; it’s now working. Also, I won’t add the system as well for the looting (as there isn’t an infinite supply of stuff while looting something). I also hope I’ll see it completed; if I was to set a deadline, that would be January next year. I’m not entirely sure I’ll finish it until then, but I can only hope :smiley:

@CJW, I didn’t use a loop for it, I did this (for selling):

You can sell ${reignweed} reignweeds.
*line_break
How many reignweeds do you want to sell?
*line_break
If you don't want to sell, write 0.
*input_number dice_roll 0 reignweed
*if dice_roll > 1
	You sold ${dice_roll} reignweeds!
*if dice_roll = 1
	You sold a reignweed!
*if dice_roll < 1
	You didn't sell any reignweeds!
	*goto YaltaHunterSell
*set reignweed - dice_roll
*set dice_roll2 1
*set dice_roll2 * dice_roll
*set weight - dice_roll2
*set dice_roll * 150
*set wealth + dice_roll
*set time_minutes + 1
*goto YaltaHunterSell

I’d have used a loop…if I realized earlier that I could’ve done so. But this works too so far without trouble :slight_smile:

@ItalionStailon, I didn’t upload the combat fix yet, I will do so soon I hope; perhaps today if I’ll be done with the store/take/sell/buy system. And thanks for spotting that; forgot to add a #Return option. It should work now. I also forgot to add the chest label there; looting the chest should pe possible now.

Without even thinking about it I can spot one huge flaw:

  • It doesn’t check if I have the amount of reignweeds I’m selling

I could sell 100 and have 2 with the current code - Bug Report?

Actually not; it sets the maximum you can input in the *input_number to the amount of the reignweeds you have (variable reignweed), so you can’t sell more than that :slight_smile:

Woops, my - BIG - bad :open_mouth: ! Sorry :smiley:
Scratch.

Lol, not a problem; we all make mistakes :stuck_out_tongue:

UPDATE:

  • You can now select how much you want to buy/sell at a time at shops.

UPCOMING:

  • Being able to select how much you want to store/take in containers; the system above took me yesterday and today (to replace every single item selling/buying with the current system) and I’ll just push the next part of the system for tomorrow.
  • Then, most likely guilds and relationships.

I have a question though; what books would anyone want to be added in the game? I’ll add books that you can buy from the librarian soon, and I don’t know what I should add. You can invent the name as well; it mustn’t neccessarily be an actual book.

UPDATE:

  • You can now select how much you want to store/take at your chest/armor support/weapon support/shelf.

UPCOMING:

  • The guilds; I haven’t worked on them ever since I started working on this system. But on the good side, tomorrow I’m having the last test I’ll take this semester (that I know of). So that means, there’s more time for me to work on the game after the math test tomorrow :slight_smile:

Whenever I try to sell anything to anyone, it gives the following error:
“Invalid Arguement”

When I tried to store my arrows in the weapons chest at my house, I got this error:
“line 3386: non-existant variable “string””

In Deadwoods Forest, I explored for a while and found the troll’s cave, and tried to explore it when I got this error:
“line 2148: bad label explorecavetrollscombat”

Finally, I went to that house in Deadwoods Forest again, tried to open the chest, and got this message:
"line 5356: Invalid option; conflicts with option “A magic potion (${dcmagicpotion} left, each weighs 1 pound).’ on line 5349”
Which really sucks, because I want to know what is in the chest! :confused:

Are you using Internet Explorer for the game? As *input_number gives that error at IE (it worked for me on Chrome/Firefox but IE did give me that error too).

For the second, third and fourth error, I fixed them all; thanks again for spotting those!

There’s a ‘solution’ to the IE problem here: http://www.choiceofgames.com/forum/discussion/505

An easier fix seems to come in the form of merely adding this line:

It’s commented out to make it obvious what you’re adding (in ui.js), don’t actually comment it out when you add it.

@AlexCosarca - Scratch that image/fix.

Wrapping the following if condition around the culprit line seems to do the trick:

if (!isIE) { input.type=inputType; }

@CJW, Thanks a lot for the fix; I’ve placed it like this:


    var self = this;
    form.action="#";
    
    if (!isIE) { input.type=inputType; }
    
    var input = document.createElement("input");
    if (inputType == "number") {

Would this be the right way?

That would work I think, but I’d put it below “var input =”

As that’s where it was originally.

And no problem, I’ve submitted it as an issue on github, so hopefully Dan will be able to fix it in later versions :slight_smile:

UPDATE:

  • There is now the feature of “equipping/unequipping” armor (you can do so at your armor storage). The equipped armor only “wears out” (dissapears) once your armor reaches zero in a combat.
  • The leveling system is much better now (you now need double the XP than for the previous level to level up).
  • The damaging system in a combat should work better (i.e. you’re not invincible anymore).
  • When you cast spells in a combat, the damage increases according to the level of your magic skills (it only did so for the weapons before).

NOTE: This update probably broke your savegame (with the leveling/armor) so I’d recommend starting over if you want to experience these new features normally.

UPCOMING:

  • Hopefully, guilds. I’m sorry for delaying the guilds; they’ll come soon! :slight_smile: But along with the guilds, I have to do several NPCs and several Quests, and different interactions for each, so that’s why making guilds will take a while.
  • @CJW’s new saving system (with the save slots, which will appear in the future).

LINK:
https://dl.dropbox.com/u/95587456/web/index.html

If you find any bugs/errors, or if you have any suggestions for the game, feel free to say them below.

SMALL UPDATE:

  • The game is now updated to the last ChoiceScript version.

UPDATE (The greatest update so far):

  • Tiredness/Hunger/Thirst System you can turn each of them off/on at the menu screen, so you can either play with all of them, some of them or none of them (before you start the game). Here’s how they work:

If you’re carrying food/liquids with you and the hunger/thirst bars rise to a certain point you’ve set (in the game options), you’ll be asked by the game to consume food/liquids from the inventory (if you choose in the game options to be asked; you can choose so that you automatically consume food/liquids if needed without being notified). If you don’t have any food/liquids, you’ll be notified by the game. You can drink liquids at inns and you can eat at churches. The game automatically notifies you when the thirst/hunger/tiredness bars are over 90 (regardless if you turn it off or not, it still notifies you, so that you can’t die just by not being able to eat/sleep/drink liquids).

When the tiredness bar reaches 100, you’re going to pass out. When the hunger bar reaches 100, you’re going to die of hunger. When the thirst bar reaches 100, you’re going to die of thirst. Sleep to decrease tiredness, eat food to decrease hunger, drink liquids to decrease thirst.

You can find all this in the game manual at the end.

  • New villages: Gortah and Seaham coming with some new buildings and several quests/NPCs.

  • The Inn, a new building in Yalta/Gortah where you can also meet NPCs.

  • New NPCs done in Yalta, Laves and Seaham.

  • New Quests done in Yalta, Laves and Seaham (there are now 16 quests, out of which at least 12 should be doable).

  • Building your own house in Deadwood Forest (I won’t spoil it, try to discover the way of building your house there!) and in Seaham as well.

  • Building your own stables in Laves and Seaham.

  • Cutting logs in Deadwood Forest with an axe.

  • The long expected first guild, The Knights Guild is now available in Yalta. You can join it by talking to Enoch in the Barracks in Yalta.

  • Dragon Fighting in Jaguar Mountain; there is a way you can fight a dragon there. I won’t spoil the way to do that, good luck in discovering it!

  • Bonfire improvements You can now cook fishes as well.

  • New Items The water bottle, the pint of ale (both used to reduce thirst) and cooked fishes (used to reduce hunger).

  • All the guild members/ranks are now done (you may not see them in the game yet as they’re only showing up once you belong to a certain guild).

  • A few changes in the Game Manual You will be able to join the Pirates Guild, more polished sections and a few grammar errors fixed.

  • New guild added in the Game Manual: The Alliance. A guild made out of all the prisoners of the raiders.

  • A new building, Fighting Arena which is similar to the Jousting Arena (except that you fight, not joust).

  • A new building: The Sawmill (where you can cut logs into planks).

  • Relationships with people.

  • Building your own fishing boat in Laves, Seaham and Yalta.

  • Building your own stables in Seaham and Yalta.

  • Update to the Jousting: you now recieve XP from both the tournament and the practice.

  • Several bug fixes caused by some misplaced *if/*goto/*label commands.

  • New soundtrack added at various points in the game (from the game Patrician III).

  • Hundreds of new variables, which means you may have to restart the game from the beginning for the game to properly work.

UPCOMING (Another large update):

  • New villages/NPCs/Quests/Buildings.

  • Probably sailing/naval warfare/ship building.

  • Probably Jaguar Mountain exploring (for that, I’m going to need ideas on what I could add as possible exploring outcomes).

  • Going to prison.

  • The Bank building, where you can deposit wealth which increases based on interest and where you can take loans.

  • Borrowing Books.

NOTES:

  • Because I made the equip/unequip system different than what I had in mind a few updates before, I can now add more armor types than just two.

  • Pickpocketing/going to prison will be in the game in future updates, when the game will have new armor types and new weapons (so that the option of fighting the guards & the person you pickpocket will be available).

  • If you find any bugs and errors or just have some suggestions or feedback, post it here; it’s all welcome :slight_smile:

EDIT:

Forgot to post the link as well.
LINK:
https://dl.dropbox.com/u/95587456/web/index.html

wow Alex I try now I want to steal and have relationships

there are a thing annoys me why all the names I can choose are masculine? if I can be a girl at least one must be feminine

@MaraJade, Done. I’ve added more names (and changed some).