{"id":18991288,"url":"https://github.com/mt-mods/cannons","last_synced_at":"2026-04-14T10:30:16.092Z","repository":{"id":103957536,"uuid":"245410137","full_name":"mt-mods/cannons","owner":"mt-mods","description":"salvaged/forked from https://bitbucket.org/kingarthursteam/canons.git","archived":false,"fork":false,"pushed_at":"2024-03-02T00:33:24.000Z","size":2634,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-01-01T14:45:01.368Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mt-mods.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-03-06T12:08:31.000Z","updated_at":"2023-07-26T15:25:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"eb4fed06-e9da-4346-8654-574a1daf82ca","html_url":"https://github.com/mt-mods/cannons","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mt-mods%2Fcannons","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mt-mods%2Fcannons/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mt-mods%2Fcannons/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mt-mods%2Fcannons/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mt-mods","download_url":"https://codeload.github.com/mt-mods/cannons/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240002319,"owners_count":19732178,"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":[],"created_at":"2024-11-08T17:13:24.585Z","updated_at":"2026-04-14T10:30:16.017Z","avatar_url":"https://github.com/mt-mods.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Welcome to the cannons mod #\ncannons is a mod for the game minetest written by Kingarthurs Team\n(Semmett9, eythen, and addi)\n\nif you have some muni in the cannon and some gunpowder\nyou can shot the cannon if you punch it with a torch.\n\nthe cannonball will damage the other players.\nif it wears armor the damage will be calculated.\n\n## configure cannons ##\ncreate a file caled cannons.conf in your world dir.\n\nadd the folowing lines to it:\n\n```\n#!conf\n\n\nenable_explosion = \"true\"\nenable_fire = \"true\"\n```\n\n\nnow you can change it. eg. if you want to disable fire then cange\n*enable_fire = \"true\"*\nto \n*enable_fire = \"false\"*\n\nthats all :-)\n\n## Dependencies\n\n* default\n* bucket\n* fire(optional)\n\n## get cannons\nrelases are in the [donwloads Tab](https://bitbucket.org/kingarthursteam/cannons/downloads#tag-downloads)\nswith there to tab 'Tags'\n\nits also aviable as a git repo:\n\n```\n$ git clone https://kingarthursteam@bitbucket.org/kingarthursteam/canons.git\n```\n\n## Craft Rezieps\n\nBucket with salt:\n\n![Bucket with salt salt](https://bitbucket.org/kingarthursteam/cannons/wiki/crafts/bucket_with_salt.png)\n\nSalt (shapeless): \n\n![salt](https://bitbucket.org/kingarthursteam/cannons/wiki/crafts/salt.png)\n\nGunpowder (schapeless):\n\n![craft gunpowder](https://bitbucket.org/repo/bxGA9B/images/474788878-craft_gunpowder.gif)\n\ncannons:\n\n![cannon \u0026 bronce cannon](https://bitbucket.org/repo/bxGA9B/images/237489485-craft_cannon.gif)\nWooden stand:\n\n![wooden stand](https://bitbucket.org/kingarthursteam/cannons/wiki/crafts/woden_stand.png)\n\nStone Stand:\n\n![stone stand](https://bitbucket.org/kingarthursteam/cannons/wiki/crafts/stone_stand.png)\n\n## Screenshots\n![Cannon Tower](https://bitbucket.org/kingarthursteam/cannons/wiki/screenshots/screenshot_1531516.png)\n![Cannon Tower 2](https://bitbucket.org/kingarthursteam/cannons/wiki/screenshots/screenshot_1849086.png)\n![Cannon Tower 3](https://bitbucket.org/kingarthursteam/cannons/wiki/screenshots/screenshot_5781410.png)\n\n## Create your own Cannonball!\n\n```\n#!lua\n\nlocal ball_wood={\n\tphysical = false,\n\ttimer=0,\n\ttextures = {\"cannons_wood_bullet.png\"},\n\tlastpos={},\n\tdamage=20,\n\trange=1,\n\tgravity=10,\n\tvelocity=40,\n\tname=\"cannons:wood_bullet\",\n\tcollisionbox = {-0.25,-0.25,-0.25, 0.25,0.25,0.25},\n\ton_player_hit = function(self,pos,player)\n\t\tlocal playername = player:get_player_name()\n\t\tplayer:punch(self.object, 1.0, {\n\t\t\tfull_punch_interval=1.0,\n\t\t\tdamage_groups={fleshy=self.damage},\n\t\t\t}, nil)\n\t\tself.object:remove()\n\t\tminetest.chat_send_all(playername ..\" tried to catch a cannonball\")\n\tend,\n\ton_mob_hit = function(self,pos,mob)\n\t\tmob:punch(self.object, 1.0, {\n\t\t\tfull_punch_interval=1.0,\n\t\t\tdamage_groups={fleshy=self.damage},\n\t\t\t}, nil)\n\t\tself.object:remove()\n\tend,\n\ton_node_hit = function(self,pos,node)\n\t\tif node.name == \"default:dirt_with_grass\" then\t\t\t\n\t\t\tminetest.env:set_node({x=pos.x, y=pos.y, z=pos.z},{name=\"default:dirt\"})\n\t\t\tminetest.sound_play(\"cannons_hit\",\n\t\t\t\t{pos = pos, gain = 1.0, max_hear_distance = 32,})\n\t\t\tself.object:remove()\n\t\telseif node.name == \"default:water_source\" then\n\t\tminetest.sound_play(\"cannons_splash\",\n\t\t\t{pos = pos, gain = 1.0, max_hear_distance = 32,})\n\t\t\tself.object:remove()\n\t\telse\n\t\tminetest.sound_play(\"cannons_hit\",\n\t\t\t{pos = pos, gain = 1.0, max_hear_distance = 32,})\n\t\t\tself.object:remove()\n\t\tend\n\tend,\n\n}\ncannons.register_muni(\"cannons:ball_wood\",ball_wood)\n```\n\n\n\n\nHave fun!","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmt-mods%2Fcannons","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmt-mods%2Fcannons","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmt-mods%2Fcannons/lists"}