Compare commits

...

10 Commits

Author SHA1 Message Date
David G
0f616845de Make recipe less expensive, no mese. 2020-02-20 08:59:50 -07:00
David G
a62d81f3fc Support craftguide mod. 2020-02-19 15:02:14 -07:00
David G
2186b6e970 Craft recipe optionally depends on default. 2019-09-23 16:11:09 -07:00
David G
5ddd166197 New textures, back to 16 directions. 2019-09-23 10:29:15 -07:00
David G
f265515947 New textures, back to 12 directions. 2018-06-30 09:54:40 -07:00
David G
906c72b95f Tweak textures and update screenshots. 2018-06-29 10:14:35 -07:00
David G
97704cf0fa Add alternate compass images derived from ccompass. 2018-06-28 20:41:36 -07:00
David G
9cf4f59a34 Another documentation update. 2018-06-26 20:36:04 -07:00
David G
217b7fd147 Continue updating documentation. 2018-06-26 20:32:46 -07:00
David G
1660684bc2 Update documentation. 2018-06-26 20:17:50 -07:00
21 changed files with 113 additions and 99 deletions

View File

@ -1,5 +1,5 @@
Realcompass
===========
Real Compass
============
**compass** *(n)* A mechanical or electronic instrument used for navigation or orienteering,
which points to the physical or magnetic north pole.
@ -11,27 +11,45 @@ David_G (kestral246@gmail.com)
Features
--------
It's only feature is to act like a real compass and always point to the north.
This mod tries to address what the "real" essence of being a compass is all about.
No options, no gui's, just an animated needle that points toward the north.
I'm now using compass textures derived from the wonderful ones created by tacotexmex for ccompass.
I changed the colors and crafting recipe so that it can hopefully be used in parallel with ccompass,
since they both provide different features.
I have returned to using 16 pointing directions. *(I started with tacotexmex's 16-direction update for ccompass, but I changed the colors and slightly shortened most of the compass needles.)*
**New:** I have updated this mod to work with the craftguide mod. *(Thanks to feedback from FreeGamers.)*
![Realcompass Screenshot](screenshot.png "Realcompass")
Crafting guide
--------------
**New:** Reduced cost of recipe by replacing mese\_fragment with glass.
```
, steel_ingot ,
steel_ingot, mese_crystal_fragment, steel_ingot
, steel_ingot ,
copper_ingot, glass , copper_ingot
, copper_ingot,
```
License
-------
- **textures:** original compass textures: CC BY-SA by Echo (45deg versions added by kestral246 also CC BY-SA)
- **new textures:** derived from ccompass, textures CC BY-SA by tacotexmex (changes by kestral246 also CC BY-SA)
- **code:** My changes to original code are CC0-1.0
- **original compassgps license:** Original code by Echo, PilzAdam, and TeTpaAka is WTFPL. Kilarin (Donald Hines) changes are CC0 (No rights reserved)
Thanks
------
This mod is basically compassgps with 90% of its code ripped out, so I can't take much credit.
That belongs to Echo, PilzAdams, TeTpaAka, and Kilarin. I was just standing on their shoulders.
- [compassgps](https://github.com/Kilarin/compassgps) / Kilarin (Donald Hines),
et. al.
- [ccompass](https://github.com/minetest-mods/ccompass) / code: bell07, textures: tacotexmex

View File

@ -1 +1 @@
default
default?

View File

@ -1,16 +1,7 @@
-- realcompass 1.0
-- realcompass 1.23
-- This fork written by David_G (kestral246@gmail.com)
-- My changes are CC0 (No rights reserved)
-- textures: original compass textures: CC BY-SA by Echo (I added 45deg versions)
-- Changes:
-- only points north
-- 16 directions instead of 12
-- based on compassgps 2.7 and compass 0.5
--
--Original code by Echo, PilzAdam, and TeTpaAka is WTFPL.
--Original code by Kilarin (Donald Hines) is CC0 (No rights reserved).
--fixed bug that caused compass to jump around in inventory
-- 2020-02-20
local activewidth=8 --until I can find some way to get it from minetest
@ -96,12 +87,14 @@ for i,img in ipairs(images) do
})
end
minetest.register_craft({
output = 'realcompass:1',
-- crafting recipe only works if default mod present.
if minetest.get_modpath("default") ~= nil then
minetest.register_craft({
output = 'realcompass:0',
recipe = {
{'', 'default:steel_ingot', ''},
{'default:steel_ingot', 'default:mese_crystal_fragment', 'default:steel_ingot'},
{'', 'default:steel_ingot', ''}
{'default:copper_ingot', 'default:glass', 'default:copper_ingot'},
{'', 'default:copper_ingot', ''}
}
})
})
end

3
mod.conf Normal file
View File

@ -0,0 +1,3 @@
name = realcompass
description = A simple compass that only points north.
optional_depends = default

Binary file not shown.

Before

Width:  |  Height:  |  Size: 140 KiB

After

Width:  |  Height:  |  Size: 9.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 485 B

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 492 B

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 523 B

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 495 B

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 487 B

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 499 B

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 531 B

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 499 B

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 524 B

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 490 B

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 487 B

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 499 B

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 528 B

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 492 B

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 484 B

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 492 B

After

Width:  |  Height:  |  Size: 2.5 KiB