by Tdarcos » Thu Sep 13, 2012 9:28 am
I found the problem. In order to give the breakers numbers to trip, I numbered them
Code: Select all
object breaker_stove "stove"
{
in fusebox
article "a"
adjectives "stove","10"
is static, switchedon, hidden, breaker
Darkens nothing
}
object breaker_microwave "microwave"
{
in fusebox
article "a"
adjectives "microwave","11"
is static, switchedon, hidden, breaker
Darkens nothing
}
object breaker_fridge "refrigerator"
{
in fusebox
article "a"
adjectives "fridge","12","refrigerator"
is static, switchedon, hidden, breaker
Darkens nothing
}
I'm thinking this might be it, having a different object with the same numeric name. Problem is that I added the following:
Code: Select all
verb "go","goto"
* "11"/"12"/"13"/"14"/"15"/"16"/"17"/"18"/"19" DoGoCube
* "21"/"22"/"23"/"24"/"25"/"26"/"27"/"28"/"29" DoGoCube
* "31"/"32"/"33"/"34"/"35"/"36"/"37"/"38"/"39" DoGoCube
And I get this:
[Transcript]
>go 13
DoGoCube executed
object is 0 xobject is 0
Using word 13
>go 12
You haven't encountered anything like that.
>goto 12
DoGoCube executed
object is 0 xobject is 0
Using word 12
>goto 13
DoGoCube executed
object is 0 xobject is 0
Using word 13
>goto 11
DoGoCube executed
object is 0 xobject is 0
Using word 11
>go 11
You haven't encountered anything like that.
This is damned wierd. I'm going to change the fuse numbers and see if this has an effect.
I found the problem. In order to give the breakers numbers to trip, I numbered them
[code]
object breaker_stove "stove"
{
in fusebox
article "a"
adjectives "stove","10"
is static, switchedon, hidden, breaker
Darkens nothing
}
object breaker_microwave "microwave"
{
in fusebox
article "a"
adjectives "microwave","11"
is static, switchedon, hidden, breaker
Darkens nothing
}
object breaker_fridge "refrigerator"
{
in fusebox
article "a"
adjectives "fridge","12","refrigerator"
is static, switchedon, hidden, breaker
Darkens nothing
}
[/code]
I'm thinking this might be it, having a different object with the same numeric name. Problem is that I added the following:
[code]
verb "go","goto"
* "11"/"12"/"13"/"14"/"15"/"16"/"17"/"18"/"19" DoGoCube
* "21"/"22"/"23"/"24"/"25"/"26"/"27"/"28"/"29" DoGoCube
* "31"/"32"/"33"/"34"/"35"/"36"/"37"/"38"/"39" DoGoCube
[/code]
And I get this:
[Transcript]
[color=yellow]
>go 13
DoGoCube executed
object is 0 xobject is 0
Using word 13
>go 12
You haven't encountered anything like that.
>goto 12
DoGoCube executed
object is 0 xobject is 0
Using word 12
>goto 13
DoGoCube executed
object is 0 xobject is 0
Using word 13
>goto 11
DoGoCube executed
object is 0 xobject is 0
Using word 11
>go 11
You haven't encountered anything like that.
[/color]
This is damned wierd. I'm going to change the fuse numbers and see if this has an effect.