awardEquipment("EQ_TRUMBLE")

An area for discussing new ideas and additions to Oolite.

Moderators: winston, another_commander

Post Reply
User avatar
Commander McLane
---- E L I T E ----
---- E L I T E ----
Posts: 9520
Joined: Thu Dec 14, 2006 9:08 am
Location: a Hacker Outpost in a moderately remote area
Contact:

awardEquipment("EQ_TRUMBLE")

Post by Commander McLane »

Is there a reason why we only ever can give the player one single trumble via script? If he already has one (or more) the method doesn't do anything.

I don't see why it shouldn't be possible to scoop up a second trumble, for instance, if you already have one. So can the code be changed in a way that more trumbles can be awarded, until the maximum number (if there is any) is reached?
User avatar
Kaks
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 3009
Joined: Mon Jan 21, 2008 11:41 pm
Location: The Big Smoke

Post by Kaks »

Hmm, you can have up to 24 trumbles on your ship.

Call me cynical, but I always assumed that the old trumble(s) would kill any unrelated new one in order to keep the food for themselves and their progeny.

What about a compromise: less than 6 onboard trumbles, the new one survives, 6-11 trumbles, 50% chances of surviving, 12 or more, no chance at all.

Does it sound reasonable?
Hey, free OXPs: farsun v1.05 & tty v0.5! :0)
Screet
---- E L I T E ----
---- E L I T E ----
Posts: 1883
Joined: Wed Dec 10, 2008 3:02 am
Location: Bremen, Germany

Post by Screet »

Kaks wrote:
Hmm, you can have up to 24 trumbles on your ship.

Call me cynical, but I always assumed that the old trumble(s) would kill any unrelated new one in order to keep the food for themselves and their progeny.

What about a compromise: less than 6 onboard trumbles, the new one survives, 6-11 trumbles, 50% chances of surviving, 12 or more, no chance at all.

Does it sound reasonable?
I like it...especially if the trumbles would visibly hunt each other :twisted: But that's more complex than changing the line asking for trumblecount < 1 to trumblecount < maxtrumbles ;) I didn't yet have the chance to see if that change is enough though...will create some test script for this and the strange NEU thing today...

Screet
Screet
---- E L I T E ----
---- E L I T E ----
Posts: 1883
Joined: Wed Dec 10, 2008 3:02 am
Location: Bremen, Germany

Post by Screet »

OK, test confirms: It's enough to change the line which only allows to award a trumble if trumblecount < 1 :twisted:

Screet
User avatar
Kaks
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 3009
Joined: Mon Jan 21, 2008 11:41 pm
Location: The Big Smoke

Post by Kaks »

I've already got my 'compromise' code ready to go. So if there's no objections, I'll commit that...
Hey, free OXPs: farsun v1.05 & tty v0.5! :0)
Screet
---- E L I T E ----
---- E L I T E ----
Posts: 1883
Joined: Wed Dec 10, 2008 3:02 am
Location: Bremen, Germany

Post by Screet »

Kaks wrote:
I've already got my 'compromise' code ready to go. So if there's no objections, I'll commit that...
A little suggestion:
1) If a trumble is added to an existing population, make them purr
2) If a trumble is NOT added because the existing population defends itself, play some not-so-nice trumble sound (cooking trumble) ;)

However, I don't know how to do that...would have to search the code...

Screet
User avatar
Kaks
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 3009
Joined: Mon Jan 21, 2008 11:41 pm
Location: The Big Smoke

Post by Kaks »

Hmmm, I suspect a general 'trumble scuffle' sound via oxp will have to do... after all, you're not really supposed to know exactly how many trumbles are actually on board, apart from one, few, many or 'many many'! :D
Hey, free OXPs: farsun v1.05 & tty v0.5! :0)
Post Reply