diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-04-09 13:33:57 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-04-09 13:33:57 -0300 |
commit | cf18ce071c79ae37e14ea38943e0b1d88da70a7b (patch) | |
tree | f9159c9b60b3018300dd22ffba0d797bc5e828e5 /npc/functions/bodytype.txt | |
parent | 8a4bf716002a017de77fe7df301ef8e4aaf00a2e (diff) | |
download | serverdata-cf18ce071c79ae37e14ea38943e0b1d88da70a7b.tar.gz serverdata-cf18ce071c79ae37e14ea38943e0b1d88da70a7b.tar.bz2 serverdata-cf18ce071c79ae37e14ea38943e0b1d88da70a7b.tar.xz serverdata-cf18ce071c79ae37e14ea38943e0b1d88da70a7b.zip |
Override
Diffstat (limited to 'npc/functions/bodytype.txt')
-rw-r--r-- | npc/functions/bodytype.txt | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/npc/functions/bodytype.txt b/npc/functions/bodytype.txt deleted file mode 100644 index 5d37775a..00000000 --- a/npc/functions/bodytype.txt +++ /dev/null @@ -1,19 +0,0 @@ -function script stringToBodytype { - switch (ord(strtolower(charat(getarg(0, "n"), 0)))) { - case 50: // 2 - case 102: // f - return BODYTYPE_2; - case 51: // 3 - case 109: // m - return BODYTYPE_3; - default: - return BODYTYPE_1; - } -} - -function script bodytypeToString { - .@bodytype = getarg(0, BodyType); - - return .@bodytype == BODYTYPE_2 ? l("type %i", 2) : - .@bodytype == BODYTYPE_3 ? l("type %i", 3) : l("type %i", 1); -} |