Hey, we have forums!

Author Topic: Mama Turtle  (Read 8933 times)

0 Members and 1 Guest are viewing this topic.

Offline RobertWalker

  • Extra Bit
  • *****
  • Posts: 154
    • View Profile
    • My Blog
Mama Turtle
« on: February 07, 2014, 05:30:23 am »
I was perusing the entity scripts, and I ran across this bit in mamaturtle.lua:

Code: [Select]
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...

Offline False.Genesis

  • Administrator
  • Super Bit
  • **********
  • Posts: 461
  • PRESS COMPILE FOR RAINBOWS
    • View Profile
    • My source code!
Re: Mama Turtle
« Reply #1 on: February 09, 2014, 09: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!