December 15, 2017, 11:44:36 PM
News: Hey, we have forums!
  Pages: [1]
Print
Author Topic: Mama Turtle  (Read 3290 times)
RobertWalker
Extra Bit
*****
Posts: 154


View Profile WWW
« on: February 07, 2014, 04:30:23 AM »

I was perusing the entity scripts, and I ran across this bit in mamaturtle.lua:

Code:
function enterState(me)
if entity_isState(me, STATE_IDLE) then
entity_animate(me, "idle", -1)
elseif entity_isState(me, STATE_SCREECH) then
entity_animate(me, "screech")
elseif entity_isState(me, STATE_OPEN) then
local nd = 0
if isFlag(FLAG_MAMATURTLE_RESCUE3, 1) then
nd = getNode("P3")
elseif isFlag(FLAG_MAMATURTLE_RESCUE2, 1) then
nd = getNode("P2")
elseif isFlag(FLAG_MAMATURTLE_RESCUE1, 1) then
nd = getNode("P1")
end
cam_toNode(nd)
watch(1)
local plant = node_getNearestEntity(nd, "ancient-plant")
entity_setState(plant, STATE_OPEN)
watch(1)
end
end

Looks like the Mama Turtle in the Turtle Cave, which in the current version of the game seems to do nothing but roar at you, might have originally had a little rescue quest for you to perform. Interesting...
Logged
False.Genesis
Global Moderator
Super Bit
**********
Posts: 443


PRESS COMPILE FOR RAINBOWS

489981073
View Profile WWW
« Reply #1 on: February 09, 2014, 08:51:29 PM »

To my understanding there were 3 little turtles you had to rescue, and a song plant you could open or that would appear once you had rescued them all. No idea about the reward though. More RPG elements uncovered!
Logged

  Pages: [1]
Print
Jump to: