ugh. item inheritance is working, but mob inheritance is broken

or maybe item inheritance isn't actually working lol

WHO KNOWS

i hate these kinds of errors

really frustrating. I thought I'd fixed this. just spent my entire evening chasing this inheritance problem to no avail. I can get a default mob, or I can get a "mob" with ONLY the parameters I specify (which breaks everything as it will lack position, collision, etc unless I define everything)

it's supposed to be looking up anything I don't specify in the class metatable, but it's fuckin... not doing that and I don't know why

so frustrated rn

@applebaps can I take a looksie? i have some experience with Lua and debugging __index weirdnesses

@grainloom I'd be happy to show you but it'll be a little while until I can toot the code in question or get you a file or anything. getting ready for work atm

long code stuff, troubleshooting 

long code stuff, troubleshooting 

long code stuff, troubleshooting 

long code stuff, troubleshooting 

long code stuff, troubleshooting 

long code stuff, troubleshooting 

long code stuff, troubleshooting 

long code stuff, troubleshooting 

long code stuff, troubleshooting 

long code stuff, troubleshooting 

gushing about Lua 

Follow

gushing about Lua 

gushing about Lua 

gushing about Lua 

gushing about Lua 

gushing about Lua 

gushing about Lua 

gushing about Lua 

gushing about Lua 

gushing about Lua 

gushing about Lua 

gushing about Lua, obligatory acme post 

gushing about Lua, obligatory acme post 

gushing about Lua, obligatory acme post 

gushing about Lua 

gushing about Lua 

Sign in to participate in the conversation
Anarchism Space

A mastodon instance for anarchists and libertarian socialists.