{"id":26345544,"url":"https://github.com/ruby0b/ttt2-tapir","last_synced_at":"2025-03-16T06:18:58.094Z","repository":{"id":167698120,"uuid":"609267981","full_name":"ruby0b/ttt2-tapir","owner":"ruby0b","description":"TTT2 Class that spawns a friendly Tapir, inspired by Doremy Sweet from Touhou","archived":false,"fork":false,"pushed_at":"2023-10-31T00:45:41.000Z","size":2926,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-05-02T04:20:12.752Z","etag":null,"topics":["garrysmod","lua","touhou","ttt2"],"latest_commit_sha":null,"homepage":"https://steamcommunity.com/sharedfiles/filedetails/?id=2944494303","language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ruby0b.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-03-03T18:23:29.000Z","updated_at":"2023-03-10T19:34:10.000Z","dependencies_parsed_at":"2023-06-02T07:30:30.622Z","dependency_job_id":null,"html_url":"https://github.com/ruby0b/ttt2-tapir","commit_stats":null,"previous_names":["ruby0b/ttt2-tapir"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruby0b%2Fttt2-tapir","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruby0b%2Fttt2-tapir/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruby0b%2Fttt2-tapir/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruby0b%2Fttt2-tapir/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ruby0b","download_url":"https://codeload.github.com/ruby0b/ttt2-tapir/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243831523,"owners_count":20354959,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["garrysmod","lua","touhou","ttt2"],"created_at":"2025-03-16T06:18:57.522Z","updated_at":"2025-03-16T06:18:58.086Z","avatar_url":"https://github.com/ruby0b.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"## \\[TTT2\\] Tapir \\[Class\\]\n\nIncludes a silly TTT2 Class that can spawn a friendly Tapir which fights for you.\nPlayers damaged by the Tapir will suffer the \"drowsy\" status effect which will obscure their screen and play Touhou music on their end.\nThe concept is inspired by [Doremy Sweet](https://en.touhouwiki.net/wiki/Doremy_Sweet).\n\nIf you're not using the class but want to spawn a tapir in your own code, use the global `function SpawnTapir(owner: Player)`.\n\n### Dependencies\n\n- [Tapir models](https://steamcommunity.com/sharedfiles/filedetails/?id=1327409757)\n- [TTT2](https://steamcommunity.com/sharedfiles/filedetails/?id=1357204556)\n- [TTTC](https://steamcommunity.com/sharedfiles/filedetails/?id=1368035687) (optional, obviously needed for the class)\n\n### ConVars\n\n| ConVar                          |                               Default | Description                                                                                      |\n| ------------------------------- | ------------------------------------: | ------------------------------------------------------------------------------------------------ |\n| ttt_tapir_health                |                                   400 | How much health should the tapir have?                                                           |\n| ttt_tapir_damage                |                                     4 | How much damage should the tapir do with its attacks?                                            |\n| ttt_tapir_close_distance        |                                   100 | How closely should the tapir follow its owner? (in hammer units)                                 |\n| ttt_tapir_drowsy_duration       |                                    30 | How long should the drowsiness effect last in seconds? (def: 30, set to 0 to disable)            |\n| ttt_tapir_drowsy_volume         |                                   1.0 | How loud shoud the drowsiness music be? (1.0 means 100%, i.e. the normal volume of the file)     |\n| ttt_tapir_drowsy_audio          | touhou/eternal_spring_dream_short.ogg | The audio file to play for drowsy players, relative to \"sound/\" (set to empty string to disable) |\n| ttt_tapir_drowsy_audio_length   |                                 51.25 | How long does the audio file play in seconds before it should be looped? (def: 51.25)            |\n| ttt_tapir_drowsy_overlay_enable |                                     1 | Should drowsy players have a disorienting screen overlay effect?                                 |\n\n### Copyright\n\nThe files in the `sound/touhou/` directory belong to the Touhou Project and therefore do _not_ fall under the terms of this project's LICENSE.\nAs such, any derivative works of this project that also include that content will have to follow the [Guidelines for Touhou Project Fan Creators](https://touhou-project.news/guidelines_en).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fruby0b%2Fttt2-tapir","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fruby0b%2Fttt2-tapir","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fruby0b%2Fttt2-tapir/lists"}