samualtnorman / hackmud-script-manager

Script manager for game hackmud, with minification, TypeScript support, and player script type definition generation.

Home Page:https://www.npmjs.com/package/hackmud-script-manager

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

replace `"UNKNOWN"`s with something better

samualtnorman opened this issue · comments

  • _SCRIPT_USER
  • _SCRIPT_NAME
  • _FULL_SCRIPT_NAME

I've done the hard one, the other 2 should be a lot easier

turns out _FULL_SCRIPT_NAME has a bug where

export default () => _FULL_SCRIPT_NAME

can turn into

function(){return"undefined.foo"}

I'm gonna go ahead and fix this as a part of this issue